mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 428326 - 'make check' fails when you've configured from a relative srcdir (e.g. ../src/configure), r=luser
This commit is contained in:
parent
ef687634db
commit
1a7696b809
@ -151,6 +151,8 @@ else
|
||||
getnativepath = $(1)
|
||||
endif
|
||||
|
||||
abs_srcdir = $(shell cd $(srcdir) && pwd)
|
||||
|
||||
check::
|
||||
@echo "Running TestVersionComparator tests"
|
||||
@$(PERL) -w $(srcdir)/TestVersionComparatorRunner.pl "$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestVersionComparator$(BIN_SUFFIX)"
|
||||
@ -170,7 +172,7 @@ check::
|
||||
echo "Scriptable object marked nonscriptable by xpidl"; \
|
||||
exit 1; \
|
||||
fi
|
||||
@rm -f $(DIST)/bin/components/compreg.dat; \
|
||||
regOrderDir="$(call getnativepath,${srcdir}/regorder)"; \
|
||||
rm -f $(DIST)/bin/components/compreg.dat; \
|
||||
regOrderDir="$(call getnativepath,$(abs_srcdir)/regorder)"; \
|
||||
XPCOM_DEBUG_BREAK=stack-and-abort $(RUN_TEST_PROGRAM) \
|
||||
$(DIST)/bin/TestRegistrationOrder$(BIN_SUFFIX) "$$regOrderDir"
|
||||
|
Loading…
Reference in New Issue
Block a user