Skip to content

Commit afaeddb

Browse files
committed
Fix spec testing on mac with shared build
Since spec test runner now executes the tests in the directory of the spec test, the default library path resolution does no longer work with relative paths.
1 parent 4b8b9fd commit afaeddb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/ci-build-libsass

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ then
128128
echo "Fetching Sass Spec PR $SPEC_PR"
129129
git -C sass-spec fetch -u origin pull/$SPEC_PR/head:ci-spec-pr-$SPEC_PR
130130
git -C sass-spec checkout --force ci-spec-pr-$SPEC_PR
131-
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
131+
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
132132
else
133-
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
133+
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
134134
fi
135135
else
136-
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
136+
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
137137
fi

0 commit comments

Comments
 (0)