Bug 364337. Fix unit test build bustage--don't run bookmarks tests when bookmarks aren't enabled. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@217207 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
402e8c42ee
commit
163a3d2df1
@ -58,6 +58,11 @@ MODULE = test_places
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
_UNIT_FILES := $(wildcard $(srcdir)/unit/*.js)
|
||||
#ifndef MOZ_PLACES_BOOKMARKS
|
||||
_UNIT_FILES := $(patsubst %marks.js,,$(_UNIT_FILES))
|
||||
_UNIT_FILES += $(wildcard $(srcdir)/unit/head*.js)
|
||||
_UNIT_FILES += $(wildcard $(srcdir)/unit/tail*.js)
|
||||
#endif
|
||||
|
||||
libs:: $(_UNIT_FILES)
|
||||
$(INSTALL) $^ $(DIST)/bin/$(MODULE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user