summaryrefslogtreecommitdiff
path: root/source/test/unittests/main.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-25 08:38:16 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-03-25 08:38:16 +0100
commitce20101ecb912b294b208e6e59b4a7f9214370c3 (patch)
treef5dad346e829cc727ae51b418704d78e206a53cf /source/test/unittests/main.test.c
parent3e9760eef4e212b8afe23f5415ef7a37dbfe067d (diff)
downloadkit-ce20101ecb912b294b208e6e59b4a7f9214370c3.zip
Microbenchmarks
Diffstat (limited to 'source/test/unittests/main.test.c')
-rw-r--r--source/test/unittests/main.test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/test/unittests/main.test.c b/source/test/unittests/main.test.c
index 3ced74c..60c2e36 100644
--- a/source/test/unittests/main.test.c
+++ b/source/test/unittests/main.test.c
@@ -1,5 +1,9 @@
+#include "../../kit_test/bench.h"
#include "../../kit_test/test.h"
int main(int argc, char **argv) {
- return run_tests(argc, argv);
+ int status = run_tests(argc, argv);
+ if (status == 0)
+ status = run_benchmarks(argc, argv);
+ return status;
}