Skip to content
Merged
Prev Previous commit
Next Next commit
Clean up before CxIAST run
  • Loading branch information
rewtd committed Mar 7, 2020
commit a0cf8377ece2a07b8fdaa3e73df48d5c6d33aff6
13 changes: 13 additions & 0 deletions tools/CxIAST/runBenchmark_wCxIAST.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
@ECHO OFF
IF EXIST .\cx-launcher.jar (
IF EXIST .\iast_cache (
rmdir /q /s .\iast_cache

IF EXIST .\logs (
rmdir /q /s .\logs
)

ECHO ""

ECHO Previous Checkmarx IAST results have been removed

ECHO ""
)
CD ..\..

CALL mvn clean package cargo:run -Pdeploywcxiast
Expand Down
11 changes: 9 additions & 2 deletions tools/CxIAST/runBenchmark_wCxIAST.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@

if [ -f ./cx-launcher.jar ]; then

if [ -d ./working ]; then
if [ -d ./iast_cache ]; then

rm -r ./iast_cache

if [ -d ./logs ]; then

rm -r ./logs

fi

rm -r ./working/cache
echo ""
echo "Previous Checkmarx IAST results in tools/CxIAST removed"
echo ""
Expand Down