From f2a51196aa33fca3ae19a02a601dfa190fe14d80 Mon Sep 17 00:00:00 2001 From: LKedward Date: Sat, 19 Sep 2020 11:28:45 +0100 Subject: Add: example package with single source program and module --- ci/run_tests.bat | 10 ++++++++++ ci/run_tests.sh | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'ci') 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 -- cgit v1.2.3