diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-12-05 16:53:46 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-12-05 17:20:54 +0000 |
commit | 75f8eda5115f3f5160d8aeda63f72d7c852684f7 (patch) | |
tree | df539c0b2688f44a08b4e01ec01dd8a8eaaab081 /ci | |
parent | af67eaedf86b312c86b9f081a169cc6e220f0cb6 (diff) | |
download | fpm-75f8eda5115f3f5160d8aeda63f72d7c852684f7.tar.gz fpm-75f8eda5115f3f5160d8aeda63f72d7c852684f7.zip |
Update tests: to include run and test commands
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 6 | ||||
-rwxr-xr-x | ci/run_tests.sh | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 533590d..22be2db 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -36,6 +36,9 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\app\hello_world if errorlevel 1 exit 1 +%fpm_path% run +if errorlevel 1 exit 1 + cd ..\hello_fpm if errorlevel 1 exit 1 @@ -71,6 +74,9 @@ del /q /f build %fpm_path% build if errorlevel 1 exit 1 +%fpm_path% test +if errorlevel 1 exit 1 + .\build\gfortran_debug\app\say_Hello if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 3588012..85484e5 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -23,6 +23,7 @@ rm -rf ./*/build cd hello_world "${f_fpm_path}" build ./build/gfortran_debug/app/hello_world +"${f_fpm_path}" run cd ../hello_fpm "${f_fpm_path}" build @@ -36,6 +37,7 @@ cd ../circular_example cd ../hello_complex "${f_fpm_path}" build +"${f_fpm_path}" test ./build/gfortran_debug/app/say_Hello ./build/gfortran_debug/app/say_goodbye ./build/gfortran_debug/test/greet_test |