Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
fix(testing): make prepare-mochitest-build work even if no patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Mosedale committed Aug 4, 2017
1 parent 49c40ba commit b9dda79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/prepare-mochitests-dev
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ npm run buildmc

# Patch mozilla-central (on top of the export) so that AS is preffed on, and
# the mochitests are turned on.
shopt -s nullglob # don't explode if there are no patches right now
if [ $ENABLE_MC_AS ]; then
PATCHES=$AS_GIT_BIN_REPO/mozilla-central-patches/*.diff
for p in $PATCHES
Expand All @@ -54,6 +55,7 @@ if [ $ENABLE_MC_AS ]; then
--input=$p
done
fi
shopt -u nullglob

# Be sure that we've built, and that the test glop in the objdir has been
# created.
Expand Down

0 comments on commit b9dda79

Please sign in to comment.