Skip to content

Commit

Permalink
test trying to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Dec 1, 2024
1 parent 923a70c commit d66ec99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/bats_setup
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ setup() {
T="$BATS_TEST_DIRNAME"
# R=`cd "$T"/.. && pwd`
R=`pwd`
>&3 echo "R = $R"
load "$T"/test_helper/bats_support/load
load "$T"/test_helper/bats_assert/load
[ "$CJIT" == "" ] && CJIT="${R}/cjit"
CJIT="${R}/cjit"
[ -r "$CJIT" ] || CJIT="${R}/cjit.exe"
[ -r "$CJIT" ] || CJIT="${R}/cjit.command"
[ -r "$CJIT" ] || {
>&2 echo "CJIT is not built, cannot run test suite"
exit 1
}
[ "$TCC" == "" ] && TCC="${R}/lib/tinycc/tcc"
>&3 echo "CJIT = $CJIT"

TCC="${R}/lib/tinycc/tcc"
[ -r "$TCC" ] || TCC="${R}/lib/tinycc/tcc.exe"
cd $T
}

0 comments on commit d66ec99

Please sign in to comment.