Signed-off-by: Mike Holmes <[email protected]>
---
helper/test/.gitignore | 1 +
helper/test/Makefile.am | 4 +++-
helper/test/odph_pause.c | 14 ++++++++++++++
3 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 helper/test/odph_pause.c
diff --git a/helper/test/.gitignore b/helper/test/.gitignore
index 3542630..213bc5e 100644
--- a/helper/test/.gitignore
+++ b/helper/test/.gitignore
@@ -3,3 +3,4 @@
odp_chksum
odp_process
odp_thread
+odph_pause
diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
index 7b73602..fbf5a9b 100644
--- a/helper/test/Makefile.am
+++ b/helper/test/Makefile.am
@@ -7,7 +7,8 @@ TESTS_ENVIRONMENT += TEST_DIR=${builddir}
EXECUTABLES = odp_chksum$(EXEEXT) \
odp_thread$(EXEEXT) \
- odp_process$(EXEEXT)
+ odp_process$(EXEEXT)\
+ odph_pause$(EXEEXT)
COMPILE_ONLY =
@@ -27,3 +28,4 @@ dist_odp_thread_SOURCES = odp_thread.c
odp_thread_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
dist_odp_process_SOURCES = odp_process.c
odp_process_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
+odph_pause_SOURCES = odph_pause.c
diff --git a/helper/test/odph_pause.c b/helper/test/odph_pause.c
new file mode 100644
index 0000000..f5f5da3
--- /dev/null
+++ b/helper/test/odph_pause.c
@@ -0,0 +1,14 @@
+/* Copyright (c) 2015, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <test_debug.h>
+#include "../odph_pause.h"
+
+int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
+{
+ odph_pause();
+ return 0;
+}
--
2.1.4
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp