From 3a72938103d0e5577aa817e047a5b1d9427421b5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 6 May 2019 22:58:35 +0300 Subject: Disable progress indication tests on Windows --- tests/ci.testscript | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tests/ci.testscript') diff --git a/tests/ci.testscript b/tests/ci.testscript index 986648f..7b7e180 100644 --- a/tests/ci.testscript +++ b/tests/ci.testscript @@ -60,9 +60,9 @@ init += $cxx -d prj 2>! &prj/**/bootstrap/*** windows = ($cxx.target.class == 'windows') # Normally we disable the progress indication that complicates stderr output -# validation. When testing the progress indication specifically we need to -# handle curl's progress carefully, as it is not always terminated with the -# newline character on Windows. +# validation. We also disable the progress indication test on Windows, as +# curl's progress is not always properly terminated there, messing up with +# the subsequent output. # : single-pkg : @@ -81,6 +81,7 @@ windows = ($cxx.target.class == 'windows') : progress : + if! $windows { $clone_root_prj; $init -C @cfg &prj-cfg/***; @@ -88,7 +89,7 @@ windows = ($cxx.target.class == 'windows') $* 2>>~"%EOE%" submitting to $server %.* - %.*CI request is queued.*% + %CI request is queued.*% %reference: .+% EOE } @@ -145,6 +146,8 @@ windows = ($cxx.target.class == 'windows') +$clone_root_prj +$init -C @cfg &prj-cfg/*** + test.options += --no-progress + : valid : : Here we only test that bdep-ci does not fail for valid overrides. It @@ -164,9 +167,7 @@ windows = ($cxx.target.class == 'windows') --override 'builds: &gcc' \ --override 'build-include: linux*' \ --override 'build-exclude: *' 2>>~"%EOE%" - submitting to $server - %.* - %.*CI request is queued.*% + %CI request is queued.*% %reference: .+% EOE } -- cgit v1.1