From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 1/6] add testcase for 'sparse -D M...'
Date: Wed, 13 Dec 2017 18:15:26 +0100 [thread overview]
Message-ID: <20171213171531.43707-2-luc.vanoostenryck@gmail.com> (raw)
In-Reply-To: <20171213171531.43707-1-luc.vanoostenryck@gmail.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
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
next prev parent reply other threads:[~2017-12-13 17:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-13 17:15 [PATCH 0/6] whitespace & '-D' option Luc Van Oostenryck
2017-12-13 17:15 ` Luc Van Oostenryck [this message]
2017-12-13 17:15 ` [PATCH 2/6] fix: accept 'sparse -D M...' Luc Van Oostenryck
2017-12-13 17:15 ` [PATCH 3/6] testsuite: add test case for quoting of command's arguments Luc Van Oostenryck
2017-12-13 17:15 ` [PATCH 4/6] testsuite: respect command line's quotes & whitespaces Luc Van Oostenryck
2017-12-13 17:15 ` [PATCH 5/6] add test case for space within command line Luc Van Oostenryck
2017-12-13 17:15 ` [PATCH 6/6] fix: spaces in macro definition on the " Luc Van Oostenryck
2017-12-15 6:15 ` [PATCH 0/6] whitespace & '-D' option Christopher Li
2017-12-17 14:58 ` Luc Van Oostenryck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171213171531.43707-2-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).