From 0da848a5a0ff11e3b2ff60404da77488045f36d3 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Sun, 17 Nov 2019 14:56:25 +0000 Subject: [PATCH 1/2] tests: Use correct test compilation command --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 4e2a2e47..a3309c94 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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 ) From 36af546362a06f0d556879a9310b339b55e24911 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Sun, 17 Nov 2019 15:06:07 +0000 Subject: [PATCH 2/2] tests: Bump timeout for the execution of all unit tests --- src/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meson.build b/src/meson.build index a3309c94..e1a98ab9 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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, )