From: Lukas Jiriste Date: Fri, 13 Oct 2023 13:46:58 +0000 (+0200) Subject: Make valgrind quiet. Reorder tests by size. X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=2e4821204ecbd8952d0fcd7a3a51c7704b3f56bb;p=42%2Fgnl_tester.git Make valgrind quiet. Reorder tests by size. --- diff --git a/test b/test index ddc763c..9072c09 100755 --- a/test +++ b/test @@ -19,7 +19,7 @@ make --silent wait for file in $(ls test_files/) do - valgrind --leak-check=full ./tester $file 2> tmp + valgrind --quiet --leak-check=full ./tester $file 2> tmp wait if $(cmp -s ./correct/$file ./results/$file) then @@ -42,7 +42,7 @@ do wait for file in $(ls test_files/) do - valgrind --leak-check=full ./tester $file 2> tmp + valgrind --quiet --leak-check=full ./tester $file 2> tmp wait if $(cmp -s ./correct/$file ./results/$file) then diff --git a/test_files/1 b/test_files/1 index 7466d6a..e69de29 100644 --- a/test_files/1 +++ b/test_files/1 @@ -1,5 +0,0 @@ -Just -a -simple -test -. diff --git a/test_files/2 b/test_files/2 index 40816a2..8b13789 100644 --- a/test_files/2 +++ b/test_files/2 @@ -1 +1 @@ -Hi \ No newline at end of file + diff --git a/test_files/3 b/test_files/3 index 8b13789..40816a2 100644 --- a/test_files/3 +++ b/test_files/3 @@ -1 +1 @@ - +Hi \ No newline at end of file diff --git a/test_files/4 b/test_files/4 index e69de29..7466d6a 100644 --- a/test_files/4 +++ b/test_files/4 @@ -0,0 +1,5 @@ +Just +a +simple +test +.