aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-11 13:05:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-11 13:05:22 +0200
commitfcda5635e81376494def70e7c6880655efac8b8e (patch)
tree37754fc952b5e6c8149a1074721d46bacff17fc4 /tests/cc
parent5a0dab628bd807f208a2201b19796410135d1787 (diff)
Update header unit tests
Diffstat (limited to 'tests/cc')
-rw-r--r--tests/cc/modules/headers.testscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cc/modules/headers.testscript b/tests/cc/modules/headers.testscript
index 6fc2ba7..20f2a5f 100644
--- a/tests/cc/modules/headers.testscript
+++ b/tests/cc/modules/headers.testscript
@@ -69,7 +69,7 @@ cat <<EOI >=driver-inc.cxx;
#endif
int main () {return f () - CORE_OUT;}
EOI
-$* test clean config.cxx.translatable_headers="$~/core.hxx" <<EOI
+$* test clean config.cxx.translate_include="$~/core.hxx" <<EOI
./: exe{test-imp}: cxx{driver-imp} hxx{core}
./: exe{test-inc}: cxx{driver-inc} hxx{core}
EOI
@@ -104,7 +104,7 @@ $* test clean config.cxx.translatable_headers="$~/core.hxx" <<EOI
int main () {return g ();}
EOI
$* test clean config.cxx.poptions=-DBASE_INCLUDE \
- config.cxx.translatable_headers="$~/core.hxx" <<EOI
+ config.cxx.translate_include="$~/core.hxx" <<EOI
exe{test}: cxx{driver} hxx{core} mxx{base}
EOI
#\
@@ -135,7 +135,7 @@ cat <<EOI >=driver-inc.cxx;
#include <generated/core.hxx>
int main () {return f ();}
EOI
-$* test clean config.cxx.translatable_headers="$~/core.hxx" <<EOI
+$* test clean config.cxx.translate_include="$~/core.hxx" <<EOI
./: exe{test-imp}: cxx{driver-imp} hxx{core}
./: exe{test-inc}: cxx{driver-inc} hxx{core}
hxx{core}: in{core}
@@ -161,7 +161,7 @@ cat <<EOI >=driver-inc.cxx;
#
out = ../../headers-remapped-out;
$* 'test:' ./@$out/remapped/ \
- config.cxx.translatable_headers=$out/remapped/core.hxx <<EOI;
+ config.cxx.translate_include=$out/remapped/core.hxx <<EOI;
./: exe{test-imp}: cxx{driver-imp} hxx{core}
./: exe{test-inc}: cxx{driver-inc} hxx{core}
hxx{core}: in{core}