aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/preprocessed/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-02 15:18:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-02 15:18:25 +0200
commit083743602a998c7618f65fc214bdbc1ed1915e55 (patch)
treeec8a3441ad232e31591a8b3ec6ecbe459b495b9c /tests/cc/preprocessed/testscript
parentd5ad01a48ac4c7c69995a58a3c198630df904419 (diff)
Change cc.preprocessed to {c,cxx}.preprocessed
Diffstat (limited to 'tests/cc/preprocessed/testscript')
-rw-r--r--tests/cc/preprocessed/testscript14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cc/preprocessed/testscript b/tests/cc/preprocessed/testscript
index b429853..fb69e65 100644
--- a/tests/cc/preprocessed/testscript
+++ b/tests/cc/preprocessed/testscript
@@ -61,8 +61,8 @@ cat <<EOI >=test.cxx &!test.cxx;
int main () {return TEST_VALUE;}
EOI
$* --verbose 5 &test* <<EOI 2>&1 | $filter >>EOO
- cc.preprocessed = includes
- cc.poptions += -DTEST_VALUE=0
+ cxx.preprocessed = includes
+ cxx.poptions += -DTEST_VALUE=0
exe{test}: cxx{test}
EOI
modules test
@@ -76,8 +76,8 @@ cat <<EOI >=test.cxx &!test.cxx;
int main () {return TEST_VALUE;}
EOI
$* --verbose 5 &test* <<EOI 2>&1 | $filter >>EOO
- cc.preprocessed = modules
- cc.poptions += -DTEST_VALUE=0
+ cxx.preprocessed = modules
+ cxx.poptions += -DTEST_VALUE=0
exe{test}: cxx{test}
EOI
modules test
@@ -95,7 +95,7 @@ cat <<EOI >=test.cxx &!test.cxx;
#endif
EOI
$* &test* <<EOI 2>>EOE != 0
- cc.preprocessed = modules
+ cxx.preprocessed = modules
exe{test}: cxx{test}
EOI
test.cxx: error: modules support not enabled/available
@@ -116,8 +116,8 @@ cat <<EOI >=test.cxx &!test.cxx;
in () {}
EOI
$* --verbose &test* 5 <<EOI 2>&1 | $filter >>EOO
- cc.preprocessed = all
- cc.poptions += -Dmain=foo
+ cxx.preprocessed = all
+ cxx.poptions += -Dmain=foo
exe{test}: cxx{test}
EOI
modules test