From ad02416e06e1cb9373fa69c6f61492fd498c87d2 Mon Sep 17 00:00:00 2001 From: LKedward Date: Tue, 29 Sep 2020 13:38:07 +0100 Subject: Add: test package with auto-discovery disabled Contains an app and a test that should be ignored by auto-discovery - this is checked in the CI scripts. --- ci/run_tests.bat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ci/run_tests.bat') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index ce79618..76e5349 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -62,6 +62,23 @@ if errorlevel 1 exit 1 .\build\gfortran_debug\test\farewell_test +cd ..\auto_discovery_off +if errorlevel 1 exit 1 + +..\..\..\fpm\build\gfortran_debug\app\fpm build +if errorlevel 1 exit 1 + +.\build\gfortran_debug\app\auto_discovery_off +if errorlevel 1 exit 1 + +.\build\gfortran_debug\test\my_test +if errorlevel 1 exit 1 + +if exist .\build\gfortran_debug\app\unused exit /B 1 + +if exist .\build\gfortran_debug\test\unused_test exit /B 1 + + cd ..\with_c if errorlevel 1 exit 1 -- cgit v1.2.3