diff options
author | init current directory[i] <urbanjost@comcast.net> | 2020-10-17 21:02:22 -0400 |
---|---|---|
committer | init current directory[i] <urbanjost@comcast.net> | 2020-10-17 21:02:22 -0400 |
commit | 3726ca3eeed20c6ad7699141fb6ed4fc64d541a0 (patch) | |
tree | b63df632ad62160186094ce716131027105ca34e /ci | |
parent | 8692a9aeceac6314d62844be3e644a2a28605ec8 (diff) | |
download | fpm-3726ca3eeed20c6ad7699141fb6ed4fc64d541a0.tar.gz fpm-3726ca3eeed20c6ad7699141fb6ed4fc64d541a0.zip |
change test scripts in ci/ to remove scratch directories for new-test
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run_tests.bat | 4 | ||||
-rwxr-xr-x | ci/run_tests.sh | 2 |
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 |