aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-09-27 11:43:10 +0100
committerLKedward <laurence.kedward@bristol.ac.uk>2020-09-28 09:44:58 +0100
commitd9dc4b4fc47182d60f9e18eda36478b9ca8f75fb (patch)
tree800bc9dd26c2206db004e89b567ca8278f7cac52 /ci
parent3f6c74ff3a9f009246634b860a5805be475749e2 (diff)
downloadfpm-d9dc4b4fc47182d60f9e18eda36478b9ca8f75fb.tar.gz
fpm-d9dc4b4fc47182d60f9e18eda36478b9ca8f75fb.zip
Enable fpm CI tests for local path dependency demos
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat18
-rwxr-xr-xci/run_tests.sh7
2 files changed, 25 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index ce79618..9c61d75 100755
--- a/ci/run_tests.bat
+++ b/ci/run_tests.bat
@@ -15,6 +15,7 @@ if errorlevel 1 exit 1
build\gfortran_debug\app\fpm
if errorlevel 1 exit 1
+
cd ..\test\example_packages\hello_world
if errorlevel 1 exit 1
@@ -25,6 +26,23 @@ if errorlevel 1 exit 1
if errorlevel 1 exit 1
+cd ..\hello_fpm
+if errorlevel 1 exit 1
+
+..\..\..\fpm\build\gfortran_debug\app\fpm build
+if errorlevel 1 exit 1
+
+.\build\gfortran_debug\app\hello_fpm
+if errorlevel 1 exit 1
+
+
+cd ..\circular_test
+if errorlevel 1 exit 1
+
+..\..\..\fpm\build\gfortran_debug\app\fpm build
+if errorlevel 1 exit 1
+
+
cd ..\hello_complex
if errorlevel 1 exit 1
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index ee46cac..8c7339f 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -12,6 +12,13 @@ cd ../test/example_packages/hello_world
../../../fpm/build/gfortran_debug/app/fpm build
./build/gfortran_debug/app/hello_world
+cd ../hello_fpm
+../../../fpm/build/gfortran_debug/app/fpm build
+./build/gfortran_debug/app/hello_fpm
+
+cd ../circular_test
+../../../fpm/build/gfortran_debug/app/fpm build
+
cd ../hello_complex
../../../fpm/build/gfortran_debug/app/fpm build
./build/gfortran_debug/app/say_Hello