Skip to content

Commit 02b3b1a

Browse files
e2e 959: the fixture index is spelled for the host (00_fixture_path_hygiene); the descriptor states Windows too
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent d979828 commit 02b3b1a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎tests/e2e/959_a_package_is_keyed_by_every_module_it_imports.sh‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
# builds: ex.lib is compiled again against the interface it imports, and
2121
# the entry compiled against 0.1.0 is not served.
2222
set -e
23+
source "$(dirname "$0")/_host_path.sh"
2324

2425
TMP=$(mktemp -d)
2526
trap 'rm -rf "$TMP"' EXIT
2627
fail() { echo "FAIL: $1"; shift; for f in "$@"; do echo "--- $f ---"; cat "$f" 2>/dev/null; done; exit 1; }
2728

2829
export MCPP_HOME="$TMP/mcpp-home"
2930
source "$(dirname "$0")/_inherit_toolchain.sh"
31+
TMP_HOST="$(host_path "$TMP")"
3032

3133
descriptor() { # <name> <versions...>: a package served from a seeded payload
3234
local name=$1; shift
@@ -46,6 +48,8 @@ package = {
4648
linux = {
4749
$rows },
4850
macosx = {
51+
$rows },
52+
windows = {
4953
$rows },
5054
},
5155
mcpp = {
@@ -98,7 +102,7 @@ cxxflags = ["-DEXPECT=$2"]
98102
"ex.lib" = "=0.1.0"
99103
100104
[indices]
101-
ex = { path = "$TMP/index" }
105+
ex = { path = "$TMP_HOST/index" }
102106
EOF
103107
}
104108

0 commit comments

Comments
 (0)