File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,16 @@ if [ ! -e "$TEMPD" ]; then
30
30
exit 1
31
31
fi
32
32
33
- # Make sure the temp directory gets removed and kore-rpc-booster gets killed on script exit.
34
- trap " exit 1" HUP INT PIPE QUIT TERM
35
- trap ' rm -rf "$TEMPD" && killall kore-rpc-booster || echo "no zombie processes found"' EXIT
33
+ clean_up () {
34
+ if [ -z " $KEEP_TEMPD " ]; then
35
+ rm -rf " $TEMPD "
36
+ fi
37
+ killall kore-rpc-booster || echo " no zombie processes found"
38
+ }
39
+
40
+ # Make sure the temp directory gets removed (unless KEEP_TEMPD is set) and kore-rpc-booster gets killed on script exit.
41
+ trap " exit 1" HUP INT PIPE QUIT TERM
42
+ trap clean_up EXIT
36
43
37
44
cd $TEMPD
38
45
git clone --depth 1 --branch $KONTROL_VERSION https://github.com/runtimeverification/kontrol.git
@@ -109,7 +116,6 @@ mkdir -p $SCRIPT_DIR/logs
109
116
feature_shell " make test-integration TEST_ARGS='--foundry-root $FOUNDRY_DIR --maxfail=0 --numprocesses=$PYTEST_PARALLEL -vv $BUG_REPORT ' | tee $SCRIPT_DIR /logs/kontrol-$KONTROL_VERSION -$FEATURE_BRANCH_NAME .log"
110
117
killall kore-rpc-booster || echo " no zombie processes found"
111
118
112
- # AccountParamsTest.testDealConcrete()
113
119
114
120
if [ -z " $BUG_REPORT " ]; then
115
121
if [ ! -e " $SCRIPT_DIR /logs/kontrol-$KONTROL_VERSION -master-$MASTER_COMMIT_SHORT .log" ]; then
You can’t perform that action at this time.
0 commit comments