Merge branch 'prebuild_tests' into 'master'
Prebuild tests See merge request Librem5/squeekboard!250
This commit is contained in:
@ -72,7 +72,7 @@ build_rstests = custom_target(
|
|||||||
output: ['src'],
|
output: ['src'],
|
||||||
install: false,
|
install: false,
|
||||||
console: true,
|
console: true,
|
||||||
command: [cargo_script, '', 'build', '--tests'],
|
command: [cargo_script, '', 'test', '--no-run'],
|
||||||
depends: rslibs, # no point building tests if the code itself fails
|
depends: rslibs, # no point building tests if the code itself fails
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -80,6 +80,8 @@ test(
|
|||||||
'rstest',
|
'rstest',
|
||||||
cargo_script,
|
cargo_script,
|
||||||
args: ['', 'test'],
|
args: ['', 'test'],
|
||||||
|
# this is a whole Carg-based test suite, let it run for a while
|
||||||
|
timeout: 900,
|
||||||
depends: build_rstests,
|
depends: build_rstests,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user