[libcamera-devel] [PATCH 2/5] test: libtest: Add test return codes
Kieran Bingham
kieran.bingham at ideasonboard.com
Fri Dec 21 09:13:08 CET 2018
The meson test infrastructure uses return codes to determine test
results. Define these values for use in tests.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
test/libtest/test.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/libtest/test.h b/test/libtest/test.h
index c85eeb5d9744..18b430f428c7 100644
--- a/test/libtest/test.h
+++ b/test/libtest/test.h
@@ -9,6 +9,10 @@
#include <sstream>
+#define TEST_PASS 0
+#define TEST_FAIL -1
+#define TEST_SKIP 77
+
class Test
{
public:
--
2.17.1
More information about the libcamera-devel
mailing list