aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-06 12:28:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-06 12:28:13 +0200
commit679dee2d851a67250e4a24a61da249565d478b9d (patch)
tree2968743bb74704ea7ca740670533c680b1344ace /tests
parent952c3b41399247615fe3a3c6e5109199aacf73b5 (diff)
Redo header path normalization/realization logic
We now try to use the normalized path (which preserves symlinks) if possible and fall back to realized otherwise.
Diffstat (limited to 'tests')
-rw-r--r--tests/cc/modules/headers.testscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cc/modules/headers.testscript b/tests/cc/modules/headers.testscript
index 4fb9a42..d4eb919 100644
--- a/tests/cc/modules/headers.testscript
+++ b/tests/cc/modules/headers.testscript
@@ -21,8 +21,7 @@
: import
:
-#ln -s ../core.hxx ./; @@ why isn't working?
-cp ../core.hxx ./;
+ln -s ../core.hxx ./;
cat <<EOI >=driver.cxx;
#define CORE_IN 1
import "core.hxx";
@@ -37,8 +36,7 @@ $* test clean <<EOI
: include-translation
:
-#ln -s ../core.hxx ./; @@ why isn't working?
-cp ../core.hxx ./;
+ln -s ../core.hxx ./;
cat <<EOI >=driver.cxx;
#define CORE_IN 1
#include "core.hxx"