aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-09-19 11:28:45 +0100
committerLKedward <laurence.kedward@bristol.ac.uk>2020-09-19 11:28:45 +0100
commitf2a51196aa33fca3ae19a02a601dfa190fe14d80 (patch)
treed7b89a7a7edf0dbdc86666f9987e2f145f55b7e5 /ci
parent5f7e4e5ec4fe10b7cca8aeaadb98ab376cdedfaf (diff)
downloadfpm-f2a51196aa33fca3ae19a02a601dfa190fe14d80.tar.gz
fpm-f2a51196aa33fca3ae19a02a601dfa190fe14d80.zip
Add: example package with single source program and module
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat10
-rwxr-xr-xci/run_tests.sh6
2 files changed, 15 insertions, 1 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index 5a4d624..92b3cd6 100755
--- a/ci/run_tests.bat
+++ b/ci/run_tests.bat
@@ -58,4 +58,14 @@ cd ..\submodules
if errorlevel 1 exit 1
..\..\..\fpm\build\gfortran_debug\app\fpm build
+if errorlevel 1 exit 1
+
+
+cd ..\program_with_module
+if errorlevel 1 exit 1
+
+..\..\..\fpm\build\gfortran_debug\app\fpm build
+if errorlevel 1 exit 1
+
+.\build\gfortran_debug\app\Program_with_module
if errorlevel 1 exit 1 \ No newline at end of file
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 1f6d867..418fcf2 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -24,4 +24,8 @@ cd ../with_c
./build/gfortran_debug/app/with_c
cd ../submodules
-../../../fpm/build/gfortran_debug/app/fpm build \ No newline at end of file
+../../../fpm/build/gfortran_debug/app/fpm build
+
+cd ../program_with_module
+../../../fpm/build/gfortran_debug/app/fpm build
+./build/gfortran_debug/app/Program_with_module \ No newline at end of file