summaryrefslogtreecommitdiff
path: root/volk/lib/qa_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'volk/lib/qa_utils.h')
-rw-r--r--volk/lib/qa_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/volk/lib/qa_utils.h b/volk/lib/qa_utils.h
index 80323c445..f81d652fb 100644
--- a/volk/lib/qa_utils.h
+++ b/volk/lib/qa_utils.h
@@ -10,7 +10,7 @@ void random_floats(float *buf, unsigned n);
bool run_volk_tests(const int[], void(*)(), std::string, float, int, int);
-#define VOLK_RUN_TESTS(func, tol, len, iter) run_volk_tests(func##_arch_defs, (void (*)())func##_manual, std::string(#func), tol, len, iter)
+#define VOLK_RUN_TESTS(func, tol, len, iter) BOOST_CHECK_EQUAL(run_volk_tests(func##_arch_defs, (void (*)())func##_manual, std::string(#func), tol, len, iter), 0)
typedef void (*volk_fn_2arg)(void *, void *, unsigned int, const char*);
typedef void (*volk_fn_3arg)(void *, void *, void *, unsigned int, const char*);