aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-09-02 21:45:25 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-09-03 00:15:16 +0200
commit58ef8896388385d0e79aedb49996367aeacdbb0c (patch)
tree10542eb9845be5a61a657ff358d792b10cbe7e0f /ci
parent61780313dfc873f06973dd6e7a51e3004f4a7bd6 (diff)
downloadfpm-58ef8896388385d0e79aedb49996367aeacdbb0c.tar.gz
fpm-58ef8896388385d0e79aedb49996367aeacdbb0c.zip
Add unit tests for fpm-fortran
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat3
-rwxr-xr-xci/run_tests.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index 99d0296..33d7071 100755
--- a/ci/run_tests.bat
+++ b/ci/run_tests.bat
@@ -9,6 +9,9 @@ if errorlevel 1 exit 1
fpm run
if errorlevel 1 exit 1
+fpm test
+if errorlevel 1 exit 1
+
build\gfortran_debug\app\fpm
if errorlevel 1 exit 1
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 59724d5..c740cd8 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -5,6 +5,7 @@ set -ex
cd fpm
fpm build
fpm run
+fpm test
build/gfortran_debug/app/fpm
cd ../test/example_packages/hello_world
../../../fpm/build/gfortran_debug/app/fpm build