]> xenbits.xensource.com Git - people/liuw/xtf.git/commitdiff
DO NOT APPLY a test that always returns error master
authorWei Liu <wei.liu2@citrix.com>
Thu, 4 Aug 2016 07:05:55 +0000 (08:05 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 5 Sep 2016 15:28:09 +0000 (16:28 +0100)
tests/error/Makefile [new file with mode: 0644]
tests/error/main.c [new file with mode: 0644]

diff --git a/tests/error/Makefile b/tests/error/Makefile
new file mode 100644 (file)
index 0000000..604cd6e
--- /dev/null
@@ -0,0 +1,9 @@
+include $(ROOT)/build/common.mk
+
+NAME      := error
+CATEGORY  := functional
+TEST-ENVS := hvm32
+
+obj-perenv += main.o
+
+include $(ROOT)/build/gen.mk
diff --git a/tests/error/main.c b/tests/error/main.c
new file mode 100644 (file)
index 0000000..993e1c7
--- /dev/null
@@ -0,0 +1,26 @@
+/**
+ * @file tests/error/main.c
+ * @ref test-error - TODO.
+ *
+ * @page test-error TODO
+ *
+ * @see tests/error/main.c
+ */
+#include <xtf.h>
+
+void test_main(void)
+{
+    printk("Test always returns error\n");
+
+    xtf_error("Error here");
+}
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ */