6
jig/config/all-tests.test
Normal file
6
jig/config/all-tests.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=/bin/true
|
||||
Name=Run all tests
|
||||
Description=Make sure all tests complete successfully
|
||||
Requires=test-rgbb, test-rgbg, test-rgbr, test-spi, test-touch
|
||||
Timeout=4
|
5
jig/config/complete.scenario
Normal file
5
jig/config/complete.scenario
Normal file
@ -0,0 +1,5 @@
|
||||
[Scenario]
|
||||
Name=Program and test Everything
|
||||
Description=Load the test bitstream, run tests, then load the final bitstream
|
||||
Tests=all-tests,load-final-bitstream,verify-final-bitstream
|
||||
Timeout=5
|
6
jig/config/factory-pvt.jig
Normal file
6
jig/config/factory-pvt.jig
Normal file
@ -0,0 +1,6 @@
|
||||
[Jig]
|
||||
Name=Raspberry Pi Fomu PVT Jig
|
||||
Description=Fomu factory jig running on a Raspberry Pi, designed to burn and test Fomu PVT
|
||||
TestFile=/etc
|
||||
DefaultScenario=complete
|
||||
DefaultWorkingDirectory=../bin
|
5
jig/config/file.logger
Normal file
5
jig/config/file.logger
Normal file
@ -0,0 +1,5 @@
|
||||
[Logger]
|
||||
Name=File Logger
|
||||
Description=Write log messages out to a file
|
||||
ExecStart=/bin/sh -c "cat > /tmp/ltc-log.json"
|
||||
Format=json
|
5
jig/config/leds.interface
Normal file
5
jig/config/leds.interface
Normal file
@ -0,0 +1,5 @@
|
||||
[Interface]
|
||||
Name=Front panel LEDs
|
||||
Description=Shows test status on the LEDs
|
||||
Format=text
|
||||
ExecStart=./led-interface.sh
|
6
jig/config/load-final-bitstream.test
Normal file
6
jig/config/load-final-bitstream.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=fomu-flash -w pvt-top-multiboot.bin
|
||||
Name=Load Final Bitstream
|
||||
Description=Use fomu-flash to load the final bitstream
|
||||
Requires=all-tests
|
||||
Timeout=3
|
5
jig/config/load-tester-bitstream.test
Normal file
5
jig/config/load-tester-bitstream.test
Normal file
@ -0,0 +1,5 @@
|
||||
[Test]
|
||||
ExecStart=fomu-flash -f evt-tester-bitstream.bin
|
||||
Name=Load Tester Bitstream
|
||||
Description=Use fomu-flash to load the tester bitstream
|
||||
Timeout=1
|
4
jig/config/pi-gpio.trigger
Normal file
4
jig/config/pi-gpio.trigger
Normal file
@ -0,0 +1,4 @@
|
||||
[Trigger]
|
||||
Name=Start button
|
||||
Description=A start button on the Raspberry Pi jig, pin 26. Compile with 'gcc gpiopoll.c -o gpiopoll; sudo chown root gpiopoll; sudo chmod u+s gpiopoll'
|
||||
ExecStart=./gpiopoll 26
|
7
jig/config/run-all-tests.test
Normal file
7
jig/config/run-all-tests.test
Normal file
@ -0,0 +1,7 @@
|
||||
[Test]
|
||||
ExecStart=./uart-monitor /tmp/monitor-log.txt
|
||||
Name=Run all tests
|
||||
Description=Run all tests and log the output to a file
|
||||
Requires=load-tester-bitstream
|
||||
Required=load-tester-bitstream
|
||||
Timeout=2
|
6
jig/config/test-rgbb.test
Normal file
6
jig/config/test-rgbb.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=grep -c '^RGBB: .*Pass\s*$' /tmp/monitor-log.txt
|
||||
Name=Verify Blue LED
|
||||
Description=Look for "RGBB: Pass" in the monitor log
|
||||
Requires=load-tester-bitstream,run-all-tests
|
||||
Timeout=1
|
6
jig/config/test-rgbg.test
Normal file
6
jig/config/test-rgbg.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=grep -c '^RGBG: .*Pass\s*$' /tmp/monitor-log.txt
|
||||
Name=Verify Green LED
|
||||
Description=Look for "RGBG: Pass" in the monitor log
|
||||
Requires=load-tester-bitstream,run-all-tests
|
||||
Timeout=1
|
6
jig/config/test-rgbr.test
Normal file
6
jig/config/test-rgbr.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=grep -c '^RGBR: .*Pass\s*$' /tmp/monitor-log.txt
|
||||
Name=Verify Red LED
|
||||
Description=Look for "RGBR: Pass" in the monitor log
|
||||
Requires=load-tester-bitstream,run-all-tests
|
||||
Timeout=1
|
6
jig/config/test-spi.test
Normal file
6
jig/config/test-spi.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=grep -c '^SPI: .*Pass\s*$' /tmp/monitor-log.txt
|
||||
Name=Verify SPI
|
||||
Description=Look for "SPI: Pass" in the monitor log
|
||||
Requires=load-tester-bitstream,run-all-tests
|
||||
Timeout=1
|
6
jig/config/test-touch.test
Normal file
6
jig/config/test-touch.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=grep -c '^TOUCH: .*Pass\s*$' /tmp/monitor-log.txt
|
||||
Name=Verify Touch Pads
|
||||
Description=Look for "TOUCH: Pass" in the monitor log
|
||||
Requires=load-tester-bitstream,run-all-tests
|
||||
Timeout=3
|
6
jig/config/verify-final-bitstream.test
Normal file
6
jig/config/verify-final-bitstream.test
Normal file
@ -0,0 +1,6 @@
|
||||
[Test]
|
||||
ExecStart=fomu-flash -v pvt-top-multiboot.bin
|
||||
Name=Verify Final Bitstream
|
||||
Description=Use fomu-flash to verify the final bitstream
|
||||
Requires=load-final-bitstream
|
||||
Timeout=3
|
Reference in New Issue
Block a user