From f69a53d0b83f6b6448aeacb98442b90e938696f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 May 2017 14:05:21 +0200 Subject: Add ability to limit amount of preprocessing done on source The cc.preprocessed variable can be 'none' (not preprocessed), 'includes' (no depends on preprocessor, e.g., #ifdef, etc), and 'all' (the source is fully preprocessed). Note that for 'all' the source can still contain comments and line continuations. --- tests/cc/preprocessed/buildfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/cc/preprocessed/buildfile (limited to 'tests/cc/preprocessed/buildfile') diff --git a/tests/cc/preprocessed/buildfile b/tests/cc/preprocessed/buildfile new file mode 100644 index 0000000..d812867 --- /dev/null +++ b/tests/cc/preprocessed/buildfile @@ -0,0 +1,8 @@ +# file : tests/cc/preprocessed/buildfile +# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +# Test cc.preprocessed logic. +# + +./: test{testscript} $b -- cgit v1.1