From ecb8b276504495ca9db3ee57aeaa9116d0df3561 Mon Sep 17 00:00:00 2001 From: Nathan R Date: Tue, 10 Aug 2021 16:56:22 +0200 Subject: [PATCH] updated dotest --- dotest | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotest b/dotest index 88ccd5f..a52f1ef 100755 --- a/dotest +++ b/dotest @@ -26,16 +26,16 @@ for i in tests-gnu/*.c; do cmp $i $j || die $i $j done -for i in tests-c/*.c; do +for i in tests-err/*.c; do echo $i j="${i%.c}.out" $run < $i > $j - cmp $i $j || die $i $j + cmp -s $i $j || echo failed done -for i in tests-err/*.c; do +for i in tests-c/*.c; do echo $i j="${i%.c}.out" $run < $i > $j - cmp -s $i $j || echo failed + cmp $i $j || die $i $j done