Skip to content

Commit

Permalink
Bug 1018705 - Install the test component of startupcache as one of EX…
Browse files Browse the repository at this point in the history
…TRA_COMPONENTS. r=gps
  • Loading branch information
ThinkerYzu committed Jun 21, 2014
1 parent 98364a7 commit 3dba97f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions startupcache/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

LIBS += $(MOZ_COMPONENT_LIBS)
DIST_FILES += \
$(srcdir)/TestStartupCacheTelemetry.manifest \
$(srcdir)/TestStartupCacheTelemetry.js \
$(NULL)
4 changes: 4 additions & 0 deletions startupcache/test/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ CPP_UNIT_TESTS += [
'TestStartupCache.cpp',
]

EXTRA_COMPONENTS += [
'TestStartupCacheTelemetry.js',
'TestStartupCacheTelemetry.manifest',
]
2 changes: 2 additions & 0 deletions testing/testsuite-targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,10 @@ endif
ifeq ($(MOZ_WIDGET_TOOLKIT),android)
$(NSINSTALL) $(topsrcdir)/testing/android_cppunittest_manifest.txt $(PKG_STAGE)/cppunittests
endif
ifeq ($(MOZ_DISABLE_STARTUPCACHE),)
$(NSINSTALL) $(topsrcdir)/startupcache/test/TestStartupCacheTelemetry.js $(PKG_STAGE)/cppunittests
$(NSINSTALL) $(topsrcdir)/startupcache/test/TestStartupCacheTelemetry.manifest $(PKG_STAGE)/cppunittests
endif
ifdef STRIP_CPP_TESTS
$(OBJCOPY) $(or $(STRIP_FLAGS),--strip-unneeded) $(DIST)/bin/jsapi-tests$(BIN_SUFFIX) $(PKG_STAGE)/cppunittests/jsapi-tests$(BIN_SUFFIX)
else
Expand Down

0 comments on commit 3dba97f

Please sign in to comment.