From 7c48a28e060987e814b00e18feebb8328b3188cc Mon Sep 17 00:00:00 2001 From: Alexey Fedoseev Date: Mon, 22 Apr 2024 20:50:25 +0300 Subject: [PATCH] allow output text tests w/o input graph --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index 6278ca3..2372329 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -15,7 +15,7 @@ echo for t in $(ls tests/*.test); do num=$(echo $t | grep -Poe '\d+') echo -n "$num $t... " - if [ -f "$t-input.graphml" ] + if [ -f "$t-input.graphml" -o -f "tests/$num-output.txt" ] then $t > "$t.txt" else