Skip to content

Commit

Permalink
tool/test: ctx fix out path
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed Nov 24, 2023
1 parent 8563c07 commit ade91fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/test/.ctx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
# SC2317: Command can be reached.

beganat=$(date -u +"%Y-%m-%dT%H:%M:%SZ") # or date --iso=ns -u on non-bsd
builddir=$( (cd "$(dirname "$0")/../../build" && pwd) )
builddir=$( (cd "$(dirname "$0")/../../out" && pwd) )
testdir=$builddir/tst-$beganat
export testdir

trap "cd '$PWD' ; rm -rf '$testdir' '$testdir.json'" EXIT
mkdir -p "$testdir" || exit 1
cd "$testdir" || exit 1

PATH=$builddir/out/this/Debug:$PATH
PATH=$builddir/this/Debug:$PATH

# Otherwise, the Darwin watcher will the testdir's creation event
[ "$(uname -s)" = Darwin ] && sleep 0.2
Expand Down

0 comments on commit ade91fe

Please sign in to comment.