aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat2
-rwxr-xr-xci/run_tests.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
index 2a68f53..0c0339c 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
for /f %%i in ('where /r build fpm.exe') do set fpm_path=%%i
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index df7fb24..625f37b 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -17,10 +17,11 @@ set -ex
cd fpm
fpm build
fpm run
+rm -rf fpm_scratch_*/
fpm test
+rm -rf fpm_scratch_*/
f_fpm_path="$(get_abs_filename $(find build -regex 'build/.*/app/fpm'))"
-
"${f_fpm_path}"
cd ../example_packages/hello_world