diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-12-09 09:42:25 +0100 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-12-10 18:14:23 +0100 |
commit | 4eeab74dd007d9476f3b862f79c623e457a7dad1 (patch) | |
tree | 0d2f6438044a8ec264ae97a4ca82430a905866aa /ci | |
parent | 50723700d253c83e4b68930370c3b0819e529be3 (diff) | |
download | fpm-4eeab74dd007d9476f3b862f79c623e457a7dad1.tar.gz fpm-4eeab74dd007d9476f3b862f79c623e457a7dad1.zip |
Implement example applications in Fortran fpm
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 |