From ea7b260c16dfd77c44b9b2d422f1bfd6026622b5 Mon Sep 17 00:00:00 2001 From: Akuli Date: Sun, 3 Dec 2023 13:02:14 +0200 Subject: [PATCH] Update runtests.sh --- runtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index d434780b..5dc94585 100755 --- a/runtests.sh +++ b/runtests.sh @@ -142,7 +142,8 @@ function run_test() local command if [[ "$joufile" =~ ^examples/aoc ]]; then - # AoC files use fopen("sampleinput.txt", "r") + # AoC files use fopen("sampleinput.txt", "r"). + # We don't do this for all files, because I like relative paths in error messages. command="cd $(dirname $joufile) && $(printf "$command_template" $(basename $joufile))" else command="$(printf "$command_template" $joufile)"