From: Wei Liu Date: Thu, 4 Aug 2016 07:05:55 +0000 (+0100) Subject: DO NOT APPLY a test that always returns error X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=HEAD;p=people%2Fliuw%2Fxtf.git DO NOT APPLY a test that always returns error --- diff --git a/tests/error/Makefile b/tests/error/Makefile new file mode 100644 index 0000000..604cd6e --- /dev/null +++ b/tests/error/Makefile @@ -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 index 0000000..993e1c7 --- /dev/null +++ b/tests/error/main.c @@ -0,0 +1,26 @@ +/** + * @file tests/error/main.c + * @ref test-error - TODO. + * + * @page test-error TODO + * + * @see tests/error/main.c + */ +#include + +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: + */