aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-11-14 15:52:02 +0100
committerGitHub <noreply@github.com>2020-11-14 15:52:02 +0100
commit93cc44017e413a32188fed34dd60d4b710ad5ac3 (patch)
treeb136962c5f5de1543c450ac4e0954504fd5e0804 /ci
parentb1fddf3a0e81d5edb65f25412be1c3e4e0539d58 (diff)
parentfcc971fd8703c37b8e0e02dabfe95138b4979309 (diff)
downloadfpm-93cc44017e413a32188fed34dd60d4b710ad5ac3.tar.gz
fpm-93cc44017e413a32188fed34dd60d4b710ad5ac3.zip
Merge pull request https://github.com/fortran-lang/fpm/pull/233 from awvwgk/link
Allow linking against external libraries
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat10
-rwxr-xr-xci/run_tests.sh8
2 files changed, 18 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index 0c0339c..44f6e5c 100755
--- a/ci/run_tests.bat
+++ b/ci/run_tests.bat
@@ -132,3 +132,13 @@ if errorlevel 1 exit 1
.\build\gfortran_debug\app\Program_with_module
if errorlevel 1 exit 1
+
+
+cd ..\link_executable
+if errorlevel 1 exit 1
+
+%fpm_path% build
+if errorlevel 1 exit 1
+
+.\build\gfortran_debug\app\gomp_test
+if errorlevel 1 exit 1
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 625f37b..894b1f0 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -69,3 +69,11 @@ cd ../submodules
cd ../program_with_module
"${f_fpm_path}" build
./build/gfortran_debug/app/Program_with_module
+
+cd ../link_external
+"${f_fpm_path}" build
+./build/gfortran_debug/app/link_external
+
+cd ../link_executable
+"${f_fpm_path}" build
+./build/gfortran_debug/app/gomp_test