Skip to content

Commit 8394e2f

Browse files
committed
FIX: staged changes to tests code not applying to devref.
1 parent 197f897 commit 8394e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/buildDiff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ then
2626
rm -rf $CACHEDIR/*.build
2727

2828
# Keep new changes to tests related files
29-
git diff --no-color /tmp/workdir/.busted /tmp/workdir/src/HeadlessWrapper.lua /tmp/workdir/spec/ > /tmp/patch && \
29+
git diff --no-color origin/dev -- /tmp/workdir/.busted /tmp/workdir/src/HeadlessWrapper.lua /tmp/workdir/spec/ > /tmp/patch && \
3030
git reset --hard origin/dev && git clean -fd && git apply --allow-empty /tmp/patch && \
3131
cat /tmp/workdir/spec/builds.txt | dos2unix | parallel --will-cite --ungroup --pipe -N50 'LINKSBATCH="$(mktemp){#}"; cat > $LINKSBATCH; BUILDLINKS="$LINKSBATCH" BUILDCACHEPREFIX="$CACHEDIR" busted --lua=luajit -r generate' && \
3232
BUILDCACHEPREFIX="$CACHEDIR" busted --lua=luajit -r generate && date > "$CACHEDIR/$devref" && echo "[+] Build cache computed for $devref (devref)" || exit $?

0 commit comments

Comments
 (0)