diff options
Diffstat (limited to 'tests/cc/modules/headers.testscript')
-rw-r--r-- | tests/cc/modules/headers.testscript | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/cc/modules/headers.testscript b/tests/cc/modules/headers.testscript index dacb6f0..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 #\ @@ -120,6 +120,9 @@ $* test clean config.cxx.translatable_headers="$~/core.hxx" <<EOI EOI } +# @@ TODO +# +#\ : generated : ln -s ../core.hxx.in ./; @@ -132,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} @@ -158,12 +161,13 @@ 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} EOI rm -rf $out +#\ # Clean module sidebuilds. # |