Skip to content

Commit

Permalink
more windows haxing maybe?.
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 8, 2025
1 parent 4a7d41e commit 1e6940b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,17 @@ function run_test()
if $DIFF --text -u $diff_color <(
generate_expected_output $joufile $correct_exit_code | tr -d '\r'
) <(
if [[ "$OS" =~ Windows ]]; then
pathsep=";"
else
pathsep=":"
fi
if [ $stage == 3 ]; then
export PATH="$PWD:$PATH"
export PATH="$PWD$PATHSEP$PATH"
else
# stage1 and stage2 executables are in "bootstrap/" folder
export PATH="$PWD/bootstrap:$PATH"
export PATH="$PWD/bootstrap$PATHSEP$PATH"
fi
if [ $valgrind = no ]; then
Expand Down

0 comments on commit 1e6940b

Please sign in to comment.