aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-10-17 21:02:22 -0400
committerinit current directory[i] <urbanjost@comcast.net>2020-10-17 21:02:22 -0400
commit3726ca3eeed20c6ad7699141fb6ed4fc64d541a0 (patch)
treeb63df632ad62160186094ce716131027105ca34e /ci
parent8692a9aeceac6314d62844be3e644a2a28605ec8 (diff)
downloadfpm-3726ca3eeed20c6ad7699141fb6ed4fc64d541a0.tar.gz
fpm-3726ca3eeed20c6ad7699141fb6ed4fc64d541a0.zip
change test scripts in ci/ to remove scratch directories for new-test
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat4
-rwxr-xr-xci/run_tests.sh2
2 files changed, 5 insertions, 1 deletions
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