Make valgrind quiet. Reorder tests by size.
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 13 Oct 2023 13:46:58 +0000 (15:46 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 13 Oct 2023 13:46:58 +0000 (15:46 +0200)
test
test_files/1
test_files/2
test_files/3
test_files/4

diff --git a/test b/test
index ddc763cbeecc4b1e4668828fbde256042744d10b..9072c094f579cfd5d25c3287a814caa5013368a9 100755 (executable)
--- 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
index 7466d6a0c2e42adac7fa89300ef3329c704a520d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,5 +0,0 @@
-Just
-a
-simple
-test
-.
index 40816a2b5a97541edb85548945f5da2784a956ff..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1 +1 @@
-Hi
\ No newline at end of file
+
index 8b137891791fe96927ad78e64b0aad7bded08bdc..40816a2b5a97541edb85548945f5da2784a956ff 100644 (file)
@@ -1 +1 @@
-
+Hi
\ No newline at end of file
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7466d6a0c2e42adac7fa89300ef3329c704a520d 100644 (file)
@@ -0,0 +1,5 @@
+Just
+a
+simple
+test
+.