Update #3199.
---
cpukit/include/rtems/test.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h
index d14bb9fe2d..06c5772296 100644
--- a/cpukit/include/rtems/test.h
+++ b/cpukit/include/rtems/test.h
@@ -2294,6 +2294,9 @@ void T_pop_fixture(void);
T_NO_RETURN void T_stop(void);
+#define T_unreachable() \
+ do { T_true(false, "Unreachable"); T_stop(); } while (0)
+
/**
* @brief Gets the scope for nested fixtures.
*
--
2.26.2
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel