diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 17 | ||||
-rwxr-xr-x | ci/run_tests.sh | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 745f14f..645fd49 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -87,6 +87,23 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\test\farewell_test +cd ..\auto_discovery_off +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\auto_discovery_off +if errorlevel 1 exit 1 + +.\build\gfortran_debug\test\my_test +if errorlevel 1 exit 1 + +if exist .\build\gfortran_debug\app\unused exit /B 1 + +if exist .\build\gfortran_debug\test\unused_test exit /B 1 + + cd ..\with_c if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 6937c6b..7ca33d8 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -36,6 +36,13 @@ cd ../hello_complex_2 ./build/gfortran_debug/test/greet_test ./build/gfortran_debug/test/farewell_test +cd ../auto_discovery_off +../../../fpm/build/gfortran_debug/app/fpm build +./build/gfortran_debug/app/auto_discovery_off +./build/gfortran_debug/test/my_test +test ! -x ./build/gfortran_debug/app/unused +test ! -x ./build/gfortran_debug/test/unused_test + cd ../with_c ../../../fpm/build/gfortran_debug/app/fpm build ./build/gfortran_debug/app/with_c |