mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:03:34 +03:00
CI/tests: fix invocation of tests for CMake builds
Update appveyor.yml to set env variable TFLAGS and run tests
Remove curly braces due to CMake error (${TFLAGS} -> $TFLAGS)
Move testdeps build to build step (per review comments)
Reviewed-by: Marc Hörsken
Closes #6066
Fixes #6052
This commit is contained in:
parent
112418070a
commit
d8fffd718b
3 changed files with 14 additions and 6 deletions
|
|
@ -5180,9 +5180,9 @@ disabledtests("$TESTDIR/DISABLED.local");
|
|||
# Check options to this test program
|
||||
#
|
||||
|
||||
# Special case for CMake: replace '${TFLAGS}' by the contents of the
|
||||
# Special case for CMake: replace '$TFLAGS' by the contents of the
|
||||
# environment variable (if any).
|
||||
if(@ARGV && $ARGV[-1] eq '${TFLAGS}') {
|
||||
if(@ARGV && $ARGV[-1] eq '$TFLAGS') {
|
||||
pop @ARGV;
|
||||
push(@ARGV, split(' ', $ENV{'TFLAGS'})) if defined($ENV{'TFLAGS'});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue