From 083743602a998c7618f65fc214bdbc1ed1915e55 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Aug 2017 15:18:25 +0200 Subject: Change cc.preprocessed to {c,cxx}.preprocessed --- tests/cc/preprocessed/buildfile | 2 +- tests/cc/preprocessed/testscript | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/cc') diff --git a/tests/cc/preprocessed/buildfile b/tests/cc/preprocessed/buildfile index d812867..ac6bcdf 100644 --- a/tests/cc/preprocessed/buildfile +++ b/tests/cc/preprocessed/buildfile @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -# Test cc.preprocessed logic. +# Test {c, cxx}.preprocessed logic. # ./: test{testscript} $b 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 <=test.cxx &!test.cxx; int main () {return TEST_VALUE;} EOI $* --verbose 5 &test* <&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 <=test.cxx &!test.cxx; int main () {return TEST_VALUE;} EOI $* --verbose 5 &test* <&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 <=test.cxx &!test.cxx; #endif EOI $* &test* <>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 <=test.cxx &!test.cxx; in () {} EOI $* --verbose &test* 5 <&1 | $filter >>EOO - cc.preprocessed = all - cc.poptions += -Dmain=foo + cxx.preprocessed = all + cxx.poptions += -Dmain=foo exe{test}: cxx{test} EOI modules test -- cgit v1.1