Skip to content

Commit b96caf0

Browse files
committed
Fix: Integration tests failing after running record.sh
This is because YT__TESTING not passed to GCC from record.sh.
1 parent 83c1726 commit b96caf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/record.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ for fn in $DIR/*.c; do
1616
exp_file=$EXP_DIR/$fname.exp # Expectation file for test
1717

1818
echo "Compiling test '$fn'"
19-
gcc -Wall -Wextra $fn -o $bin_file || exit
19+
gcc -Wall -Wextra -DYT__TESTING $fn -o $bin_file || exit
2020

2121
echo "Running and recording output into '$exp_file'"
2222
$bin_file > $exp_file

0 commit comments

Comments
 (0)