summaryrefslogtreecommitdiff
path: root/lwip/test/buffer_test_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'lwip/test/buffer_test_io.h')
-rw-r--r--lwip/test/buffer_test_io.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lwip/test/buffer_test_io.h b/lwip/test/buffer_test_io.h
new file mode 100644
index 0000000..f0eae50
--- /dev/null
+++ b/lwip/test/buffer_test_io.h
@@ -0,0 +1,21 @@
+/*
+ * Support for running the test output through a buffer
+ */
+
+#ifndef __BUFFER_TEST_IO_h
+#define __BUFFER_TEST_IO_h
+
+#include <rtems/test-info.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TEST_BEGIN() rtems_test_begin(rtems_test_name, TEST_STATE)
+#define TEST_END() rtems_test_end(rtems_test_name)
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif