allow output text tests w/o input graph

This commit is contained in:
Alexey Fedoseev
2024-04-22 20:50:25 +03:00
parent c02e24d16a
commit 7c48a28e06

View File

@@ -15,7 +15,7 @@ echo
for t in $(ls tests/*.test); do for t in $(ls tests/*.test); do
num=$(echo $t | grep -Poe '\d+') num=$(echo $t | grep -Poe '\d+')
echo -n "$num $t... " echo -n "$num $t... "
if [ -f "$t-input.graphml" ] if [ -f "$t-input.graphml" -o -f "tests/$num-output.txt" ]
then then
$t > "$t.txt" $t > "$t.txt"
else else