Clean up test code
Separate/consolidate board initialization code, and a few functions that are shared across tests. Update the Makefile accordingly. Resolves #18
This commit is contained in:
@@ -8,8 +8,8 @@ variables:
|
||||
- make -C ./firmware/
|
||||
artifacts:
|
||||
paths:
|
||||
- "firmware/Test/*.elf"
|
||||
- "firmware/Test/*.bin"
|
||||
- "firmware/Test/Apps/*.elf"
|
||||
- "firmware/Test/Apps/*.bin"
|
||||
- "firmware/Application/*.elf"
|
||||
- "firmware/Application/*.bin"
|
||||
|
||||
@@ -32,7 +32,7 @@ test-watch:
|
||||
- privileged
|
||||
image: registry.gitlab.maxregan.me/max/timely-reference/test-exec
|
||||
script:
|
||||
- test/src/tr_test/test.py --junitxml=test-report.xml
|
||||
- test/src/tr_test/test.py -v --durations=0 --junitxml=test-report.xml
|
||||
artifacts:
|
||||
reports:
|
||||
junit: test-report.xml
|
||||
|
||||
Reference in New Issue
Block a user