summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_and_test.sh8
-rw-r--r--source/kit_test/bench.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index 88f155b..95efbe7 100644
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -16,28 +16,28 @@ g++ -o "build/test_signals" "source/tests/test_signals.cpp" -Lbuild -lkit -lkit_
./build/kit_test_suite
-./build/test_too_many_assertions >/dev/null
+./build/test_too_many_assertions --quiet
if [ $? -eq 0 ]; then
echo "too many assertions - OK"
else
echo "too many assertions - FAIL"
fi
-./build/test_too_many_tests >/dev/null
+./build/test_too_many_tests --quiet
if [ $? -eq 0 ]; then
echo "too many tests - OK"
else
echo "too many tests - FAIL"
fi
-./build/test_cpp >/dev/null
+./build/test_cpp --quiet
if [ $? -eq 0 ]; then
echo "cpp - OK"
else
echo "cpp - FAIL"
fi
-./build/test_signals 2>&1 >/dev/null
+./build/test_signals --quiet
if [ $? -eq 0 ]; then
echo "signals - OK"
else
diff --git a/source/kit_test/bench.c b/source/kit_test/bench.c
index dcf7249..cdd69d9 100644
--- a/source/kit_test/bench.c
+++ b/source/kit_test/bench.c
@@ -198,9 +198,9 @@ int kit_run_benchmarks(int argc, char **argv) {
no_color || print_color(light);
printf("|");
no_color || print_color(yellow);
- printf(" HIGH ");
+ printf(" HIGH\n");
no_color || print_color(light);
- printf(" in microseconds\n\n");
+ printf(" (in microseconds)\n\n");
/* Prepare cycles.
*/