diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-09-26 11:11:01 +0100 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-09-26 11:11:01 +0100 |
commit | 04fd3870fb8cbb6014a197b26b71f6e3021ccba1 (patch) | |
tree | 8a26b8ead18556feb40239b9f95b61cdb5f91c59 /ci | |
parent | 124e696ac9440ff482d605d8127c1c77e4e2be97 (diff) | |
download | fpm-04fd3870fb8cbb6014a197b26b71f6e3021ccba1.tar.gz fpm-04fd3870fb8cbb6014a197b26b71f6e3021ccba1.zip |
Add: example package with program discovery
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 18 | ||||
-rwxr-xr-x | ci/run_tests.sh | 9 |
2 files changed, 26 insertions, 1 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 92b3cd6..ce79618 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -44,6 +44,24 @@ if errorlevel 1 exit 1 if errorlevel 1 exit 1 +cd ..\hello_complex_2 +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\say_hello_world +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\say_goodbye +if errorlevel 1 exit 1 + +.\build\gfortran_debug\test\greet_test +if errorlevel 1 exit 1 + +.\build\gfortran_debug\test\farewell_test + + cd ..\with_c if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 418fcf2..ee46cac 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -19,6 +19,13 @@ cd ../hello_complex ./build/gfortran_debug/test/greet_test ./build/gfortran_debug/test/farewell_test +cd ../hello_complex_2 +../../../fpm/build/gfortran_debug/app/fpm build +./build/gfortran_debug/app/say_hello_world +./build/gfortran_debug/app/say_goodbye +./build/gfortran_debug/test/greet_test +./build/gfortran_debug/test/farewell_test + cd ../with_c ../../../fpm/build/gfortran_debug/app/fpm build ./build/gfortran_debug/app/with_c @@ -28,4 +35,4 @@ cd ../submodules cd ../program_with_module ../../../fpm/build/gfortran_debug/app/fpm build -./build/gfortran_debug/app/Program_with_module
\ No newline at end of file +./build/gfortran_debug/app/Program_with_module |