mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
CI/makefiles: introduce dedicated test target
Make it easy to use the same set of test flags throughout all current and future CI builds. Reviewed-by: Jay Satiro Follow up to #7690 Closes #7785
This commit is contained in:
parent
aceff6088c
commit
ab1671cafe
9 changed files with 19 additions and 9 deletions
|
|
@ -299,11 +299,11 @@ build_script:
|
|||
test_script:
|
||||
- if %TESTING%==ON (
|
||||
if %BUILD_SYSTEM%==CMake (
|
||||
set TFLAGS=-r -rm -u %DISABLED_TESTS% &&
|
||||
cmake --build . --config %PRJ_CFG% --target test-nonflaky
|
||||
set TFLAGS=%DISABLED_TESTS% &&
|
||||
cmake --build . --config %PRJ_CFG% --target test-ci
|
||||
) else (
|
||||
if %BUILD_SYSTEM%==autotools (
|
||||
bash.exe -e -l -c "cd /c/projects/curl && make V=1 TFLAGS='-r -rm -u %DISABLED_TESTS%' test-nonflaky"
|
||||
bash.exe -e -l -c "cd /c/projects/curl && make V=1 TFLAGS='%DISABLED_TESTS%' test-ci"
|
||||
) else (
|
||||
bash.exe -e -l -c "cd /c/projects/curl/tests && ./runtests.pl -a -p !flaky -r -rm -u %DISABLED_TESTS%"
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue