[PATCH 1/6] add testcase for 'sparse -D M...'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 validation/preprocessor/cli-D-arg.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 validation/preprocessor/cli-D-arg.c

diff --git a/validation/preprocessor/cli-D-arg.c b/validation/preprocessor/cli-D-arg.c
new file mode 100644
index 000000000..b098e98bd
--- /dev/null
+++ b/validation/preprocessor/cli-D-arg.c
@@ -0,0 +1,13 @@
+A
+B
+/*
+ * check-name: cli: -D MACRO
+ * check-command: sparse -E -D A -D B=abc $file
+ * check-known-to-fail
+ *
+ * check-output-start
+
+1
+abc
+ * check-output-end
+ */
-- 
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux