change dir from run test

This commit is contained in:
Dengke Tang
2023-02-22 11:47:44 -08:00
parent 9de07efb76
commit 826974ab25
3 changed files with 9 additions and 1 deletions
+6
View File
@@ -2,6 +2,12 @@
set -ex
BASENAME=${0}
TOOLS_DIR=$(dirname ${BASENAME})
WORK_DIR="${TOOLS_DIR}/.."
cd "${WORK_DIR}"
launcher=
if command -v catchsegv; then
launcher=catchsegv