aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPhilipp <pengel@hs-nb.de>2020-09-12 17:12:37 +0200
committerPhilipp <pengel@hs-nb.de>2020-09-12 17:12:37 +0200
commitc7c6ef042b7cf0bbad132dd5824a8446214caec4 (patch)
tree461b75b503fb838b26f05331b6cc976f3017d3ca /ci
parent61b84f8da66fa19be902baf8e6cbe711856f687f (diff)
parente02171d28bb783bb419b44ef453ca56286b389a6 (diff)
downloadfpm-c7c6ef042b7cf0bbad132dd5824a8446214caec4.tar.gz
fpm-c7c6ef042b7cf0bbad132dd5824a8446214caec4.zip
Added new OS type checks.
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat24
-rwxr-xr-xci/run_tests.sh11
2 files changed, 33 insertions, 2 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index 99d0296..9435e0d 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
@@ -18,5 +21,24 @@ if errorlevel 1 exit 1
..\..\..\fpm\build\gfortran_debug\app\fpm build
if errorlevel 1 exit 1
-.\hello_world
+.\build\gfortran_debug\app\hello_world
+if errorlevel 1 exit 1
+
+
+cd ..\hello_complex
+if errorlevel 1 exit 1
+
+..\..\..\fpm\build\gfortran_debug\app\fpm build
if errorlevel 1 exit 1
+
+.\build\gfortran_debug\app\say_Hello
+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
+if errorlevel 1 exit 1 \ No newline at end of file
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 59724d5..3033c2a 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -5,7 +5,16 @@ 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
-./hello_world
+./build/gfortran_debug/app/hello_world
+
+cd ../hello_complex
+../../../fpm/build/gfortran_debug/app/fpm build
+./build/gfortran_debug/app/say_Hello
+./build/gfortran_debug/app/say_goodbye
+./build/gfortran_debug/test/greet_test
+./build/gfortran_debug/test/farewell_test \ No newline at end of file