Merge branch 'prebuild_tests' into 'master'

Prebuild tests

See merge request Librem5/squeekboard!250
This commit is contained in:
Dorota Czaplejewicz
2019-11-17 15:14:50 +00:00

View File

@ -72,7 +72,7 @@ build_rstests = custom_target(
output: ['src'],
install: false,
console: true,
command: [cargo_script, '', 'build', '--tests'],
command: [cargo_script, '', 'test', '--no-run'],
depends: rslibs, # no point building tests if the code itself fails
)
@ -80,6 +80,8 @@ test(
'rstest',
cargo_script,
args: ['', 'test'],
# this is a whole Carg-based test suite, let it run for a while
timeout: 900,
depends: build_rstests,
)