42589ec4c5
This adds build infrastructure for unit testing the API library using the serial test harness. TODO: this should be replaced with the parallel test harness, as the automake documentation says the serial harness is deprecated. The first and last tests to be run are scripts to initialize the test environment (an X session with a special -modulepath argument and xorg.conf file to pick up x11glvnd) and tear it down after all unit tests are run. This also adds a placeholder directory for a fake vendor library called "GLX_dummy", to be implemented later.
116 lines
2.8 KiB
Plaintext
116 lines
2.8 KiB
Plaintext
# nvidia-settings: X configuration file generated by nvidia-settings
|
|
# nvidia-settings: version 322.00 (brnguyen@bbn-weierstrass) Thu Jul 25 14:07:21 PDT 2013
|
|
|
|
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
|
|
# nvidia-xconfig: version 322.00 (brnguyen@bbn-weierstrass) Thu Jul 25 14:07:06 PDT 2013
|
|
|
|
Section "Module"
|
|
Load "x11glvnd"
|
|
EndSection
|
|
|
|
Section "ServerLayout"
|
|
Identifier "Layout0"
|
|
Screen 0 "Screen0" 0 0
|
|
Screen 1 "Screen1" RightOf "Screen0"
|
|
InputDevice "Keyboard0" "CoreKeyboard"
|
|
InputDevice "Mouse0" "CorePointer"
|
|
EndSection
|
|
|
|
Section "Files"
|
|
EndSection
|
|
|
|
Section "Module"
|
|
Load "x11glvnd"
|
|
Load "glx"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
|
|
# generated from default
|
|
Identifier "Mouse0"
|
|
Driver "mouse"
|
|
Option "Protocol" "auto"
|
|
Option "Device" "/dev/psaux"
|
|
Option "Emulate3Buttons" "no"
|
|
Option "ZAxisMapping" "4 5"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
|
|
# generated from default
|
|
Identifier "Keyboard0"
|
|
Driver "kbd"
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "Monitor0"
|
|
VendorName "Unknown"
|
|
ModelName "NEC LCD1980SXi"
|
|
HorizSync 31.0 - 82.0
|
|
VertRefresh 48.0 - 85.0
|
|
Option "DPMS"
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "Monitor1"
|
|
VendorName "Unknown"
|
|
ModelName "NEC LCD1970NX"
|
|
HorizSync 31.0 - 81.0
|
|
VertRefresh 56.0 - 75.0
|
|
EndSection
|
|
|
|
Section "Device"
|
|
Identifier "Device0"
|
|
Driver "nvidia"
|
|
VendorName "NVIDIA Corporation"
|
|
BoardName "Q12U-1"
|
|
BusID "PCI:3:0:0"
|
|
Screen 0
|
|
EndSection
|
|
|
|
Section "Device"
|
|
Identifier "Device1"
|
|
Driver "nvidia"
|
|
VendorName "NVIDIA Corporation"
|
|
BoardName "Q12U-1"
|
|
BusID "PCI:3:0:0"
|
|
Screen 1
|
|
EndSection
|
|
|
|
Section "Screen"
|
|
Identifier "Screen0"
|
|
Device "Device0"
|
|
Monitor "Monitor0"
|
|
DefaultDepth 24
|
|
Option "Stereo" "0"
|
|
Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
|
|
Option "SLI" "Off"
|
|
Option "MultiGPU" "Off"
|
|
Option "BaseMosaic" "off"
|
|
Option "GLVendor" "dummy_0"
|
|
SubSection "Display"
|
|
Depth 24
|
|
EndSubSection
|
|
EndSection
|
|
|
|
Section "Screen"
|
|
Identifier "Screen1"
|
|
Device "Device1"
|
|
Monitor "Monitor1"
|
|
DefaultDepth 24
|
|
Option "Stereo" "0"
|
|
Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0"
|
|
Option "SLI" "Off"
|
|
Option "MultiGPU" "Off"
|
|
Option "BaseMosaic" "off"
|
|
Option "GLVendor" "dummy_1"
|
|
SubSection "Display"
|
|
Depth 24
|
|
EndSubSection
|
|
EndSection
|
|
|
|
Section "Extensions"
|
|
Option "Composite" "Disable"
|
|
EndSection
|
|
|