From 3726ca3eeed20c6ad7699141fb6ed4fc64d541a0 Mon Sep 17 00:00:00 2001 From: "init current directory[i]" Date: Sat, 17 Oct 2020 21:02:22 -0400 Subject: change test scripts in ci/ to remove scratch directories for new-test --- ci/run_tests.bat | 4 +++- ci/run_tests.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/run_tests.bat b/ci/run_tests.bat index 76e5349..5f455b3 100755 --- a/ci/run_tests.bat +++ b/ci/run_tests.bat @@ -9,8 +9,10 @@ if errorlevel 1 exit 1 fpm run if errorlevel 1 exit 1 +rmdir fpm_scratch_* /s /q fpm test if errorlevel 1 exit 1 +rmdir fpm_scratch_* /s /q build\gfortran_debug\app\fpm if errorlevel 1 exit 1 @@ -103,4 +105,4 @@ if errorlevel 1 exit 1 if errorlevel 1 exit 1 .\build\gfortran_debug\app\Program_with_module -if errorlevel 1 exit 1 \ No newline at end of file +if errorlevel 1 exit 1 diff --git a/ci/run_tests.sh b/ci/run_tests.sh index adff2b3..7568b46 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -5,7 +5,9 @@ set -ex cd fpm fpm build fpm run +rm -rf fpm_scratch_*/ fpm test +rm -rf fpm_scratch_*/ build/gfortran_debug/app/fpm cd ../test/example_packages/hello_world -- cgit v1.2.3