Skip to content

Commit a8be67a

Browse files
committed
💲
1 parent 2254ce6 commit a8be67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ else
5454
echo -e "Test file $outfile not found!\n"
5555
continue
5656
else
57-
dif="$(diff "${infile%.*}.out" <(./a.out < "$infile"))"
57+
dif="$(diff "$outfile" <(./a.out < "$infile"))"
5858
if [ -n "$dif" ]; then
5959
if [ -t 1 ]; then echo -e "${RED}Test failed.${ENDCOLOR}
6060
\nDifference : ${RED}$dif${ENDCOLOR}\n"

0 commit comments

Comments
 (0)