From c99b2765f7e3496d742c2b265a6f9fe78c4f9e58 Mon Sep 17 00:00:00 2001 From: LKedward Date: Wed, 16 Dec 2020 11:55:27 +0000 Subject: Fix: collision between app and example executables of the same name Use a separate example subdirectory in 'build' to store example executables. --- ci/run_tests.bat | 3 +++ ci/run_tests.sh | 1 + 2 files changed, 4 insertions(+) (limited to 'ci') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 42f391c..9fcb63e 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -116,6 +116,9 @@ del /q /f build %fpm_path% build if errorlevel 1 exit 1 +.\build\gfortran_debug\example\demo-prog +if errorlevel 1 exit 1 + .\build\gfortran_debug\app\demo-prog if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 7412fba..e32a41e 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -52,6 +52,7 @@ cd ../hello_complex_2 cd ../with_examples "${f_fpm_path}" build +./build/gfortran_debug/example/demo-prog ./build/gfortran_debug/app/demo-prog cd ../auto_discovery_off -- cgit v1.2.3