diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cc/preprocessed/buildfile | 2 | ||||
-rw-r--r-- | tests/cc/preprocessed/testscript | 14 |
2 files changed, 8 insertions, 8 deletions
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 <<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 |