Commit cffe0752 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

Merge branch 'prebuild_tests' into 'master'

Prebuild tests

See merge request Librem5/squeekboard!250
parents 8c9ae98b 36af5463
......@@ -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,
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment