There were two issues with the tests 1. Incorrect print formats causing incorrect output. 2. The RTC driver was not waiting for the shadow registers to be updated after sleeping, their reset values to be read.
29 lines
613 B
YAML
29 lines
613 B
YAML
variables:
|
|
BOARD: "devboard"
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
|
|
build:
|
|
image: registry.gitlab.maxregan.me/max/arm-build-image:latest
|
|
stage: build
|
|
script:
|
|
- make -C ./firmware/
|
|
artifacts:
|
|
paths:
|
|
- "firmware/Test/*.elf"
|
|
- "firmware/Test/*.bin"
|
|
- "firmware/Application/*.elf"
|
|
- "firmware/Application/*.bin"
|
|
|
|
test:
|
|
dependencies:
|
|
- build
|
|
tags:
|
|
- tr-hw
|
|
- privileged
|
|
image: registry.gitlab.maxregan.me/max/timely-reference/test-exec
|
|
script:
|
|
- test/src/tr_test/test.py --junitxml=test-report.xml
|
|
artifacts:
|
|
reports:
|
|
junit: test-report.xml
|