Skip to content

Commit

Permalink
Bug 1641640 - install xre test ini with FINAL_TARGET_FILES; r=firef…
Browse files Browse the repository at this point in the history
…ox-build-system-reviewers,rstewart

Less makefile rules are more better.

Differential Revision: https://phabricator.services.mozilla.com/D77321
  • Loading branch information
froydnj committed May 28, 2020
1 parent 416d5d7 commit 60751ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions toolkit/xre/test/win/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ MOZ_WINCONSOLE = 1

include $(topsrcdir)/config/rules.mk

libs:: $(srcdir)/TestXREMakeCommandLineWin.ini
$(INSTALL) $^ $(FINAL_TARGET)/

check::
@echo 'Running TestXREMakeCommandLineWin tests'
@$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestXREMakeCommandLineWin.exe
5 changes: 5 additions & 0 deletions toolkit/xre/test/win/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ GeckoCppUnitTests(
linkage=None
)

# This needs to be installed alongside the above unit test.
FINAL_TARGET_FILES += [
'TestXREMakeCommandLineWin.ini',
]

DEFINES['NS_NO_XPCOM'] = True

LOCAL_INCLUDES += [
Expand Down

0 comments on commit 60751ec

Please sign in to comment.