Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run tests

  • Loading branch information...
commit 3d0742c2f85b463b2637b374af9dac1941ec1de9 1 parent 7d8787b
@txus authored
Showing with 18 additions and 18 deletions.
  1. +1 −1  src/terror/gc.c
  2. +17 −17 tests/runtests.sh
View
2  src/terror/gc.c
@@ -79,7 +79,7 @@ gc_flip(STATE, GCHeap *heap) {
debug("[GC] Adding rootset (%i) to the scan area...", DArray_count(rootset));
gc_prepare_to_scan(heap, rootset);
}
- GCHeap_print(heap);
+ /* GCHeap_print(heap); */
}
void
View
34 tests/runtests.sh
@@ -1,19 +1,19 @@
echo "Running unit tests:"
-# for i in tests/*_tests
-# do
-# if test -f $i
-# then
-# if $VALGRIND ./$i 2>> tests/tests.log
-# then
-# echo $i PASS
-# else
-# echo "ERROR in tests $i: here's tests/tests.log"
-# echo "------"
-# tail tests/tests.log
-# exit 1
-# fi
-# fi
-# done
-#
-# echo ""
+for i in tests/*_tests
+do
+ if test -f $i
+ then
+ if $VALGRIND ./$i 2>> tests/tests.log
+ then
+ echo $i PASS
+ else
+ echo "ERROR in tests $i: here's tests/tests.log"
+ echo "------"
+ tail tests/tests.log
+ exit 1
+ fi
+ fi
+done
+
+echo ""
Please sign in to comment.
Something went wrong with that request. Please try again.