diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:34:03 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:34:03 +0200 |
commit | 317cb21280d7f47103d149d79c1a147aabfae1ed (patch) | |
tree | eac9705ade6a15f6d4b7acd0f586c04a424663cf | |
parent | b0c21a940d23c45844ead5e711dadd9dedc47588 (diff) | |
download | kit-317cb21280d7f47103d149d79c1a147aabfae1ed.zip |
Build scripts
-rw-r--r-- | build_and_test.sh | 8 | ||||
-rw-r--r-- | source/kit_test/bench.c | 4 |
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. */ |