diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 13 | ||||
-rwxr-xr-x | ci/run_tests.sh | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 22be2db..42f391c 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -109,6 +109,17 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\test\farewell_test +cd ..\with_examples +if errorlevel 1 exit 1 + +del /q /f build +%fpm_path% build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\demo-prog +if errorlevel 1 exit 1 + + cd ..\auto_discovery_off if errorlevel 1 exit 1 @@ -167,4 +178,4 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\app\gomp_test if errorlevel 1 exit 1 -cd ..\..
\ No newline at end of file +cd ..\.. diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 85484e5..7412fba 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -50,6 +50,10 @@ cd ../hello_complex_2 ./build/gfortran_debug/test/greet_test ./build/gfortran_debug/test/farewell_test +cd ../with_examples +"${f_fpm_path}" build +./build/gfortran_debug/app/demo-prog + cd ../auto_discovery_off "${f_fpm_path}" build ./build/gfortran_debug/app/auto_discovery_off @@ -77,4 +81,4 @@ cd ../link_executable ./build/gfortran_debug/app/gomp_test # Cleanup -rm -rf ./*/build
\ No newline at end of file +rm -rf ./*/build |