Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Fix spec testing on mac with shared build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgreter committed Apr 13, 2019
1 parent 4b8b9fd commit afaeddb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/ci-build-libsass
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ then
echo "Fetching Sass Spec PR $SPEC_PR"
git -C sass-spec fetch -u origin pull/$SPEC_PR/head:ci-spec-pr-$SPEC_PR
git -C sass-spec checkout --force ci-spec-pr-$SPEC_PR
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
else
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
fi
else
LD_LIBRARY_PATH="$PREFIX/lib/" make $MAKE_OPTS test_probe
make LD_LIBRARY_PATH="$PREFIX/lib/" DYLD_LIBRARY_PATH="$PREFIX/lib/" $MAKE_OPTS test_probe
fi

0 comments on commit afaeddb

Please sign in to comment.