summaryrefslogtreecommitdiff
path: root/tests/test_opus_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_opus_common.h')
-rw-r--r--tests/test_opus_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_opus_common.h b/tests/test_opus_common.h
index d96c7d84..5fb924f4 100644
--- a/tests/test_opus_common.h
+++ b/tests/test_opus_common.h
@@ -81,5 +81,5 @@ static OPUS_INLINE void _test_failed(const char *file, int line)
abort();
}
#define test_failed() _test_failed(__FILE__, __LINE__);
-
+#define opus_test_assert(cond) {if (!(cond)) {test_failed();}}
void regression_test(void);