From a82876c4423ffdd650e52cbcfae36a5dca94baf0 Mon Sep 17 00:00:00 2001 From: Walter Meinl Date: Thu, 5 Mar 2009 19:03:14 +0100 Subject: [PATCH] Bug 426639 - Fix the test harness to work on OS/2; xpcom/test/Makefile; r=benjamin --- xpcom/tests/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/tests/Makefile.in b/xpcom/tests/Makefile.in index 9329bde2cd6..97dbf1f9ed4 100644 --- a/xpcom/tests/Makefile.in +++ b/xpcom/tests/Makefile.in @@ -160,7 +160,7 @@ export:: install:: $(SYSINSTALL) $(IFLAGS1) $(srcdir)/test.properties $(DESTDIR)$(mozappdir)/res -ifeq (,$(filter-out WINNT WINCE, $(HOST_OS_ARCH))) +ifeq (,$(filter-out WINNT WINCE os2-emx, $(HOST_OS_ARCH))) swapslashes = $(shell echo $(1) | sed -e 's|/|\\|g') getnativepath = $(call swapslashes,$(call normalizepath,$(1))) else @@ -171,7 +171,7 @@ abs_srcdir = $(shell cd $(srcdir) && pwd) check:: @echo "Running TestVersionComparator tests" - @$(PERL) -w $(srcdir)/TestVersionComparatorRunner.pl "$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestVersionComparator$(BIN_SUFFIX)" + @$(RUN_TEST_PROGRAM) $(PERL) -w $(srcdir)/TestVersionComparatorRunner.pl "$(FINAL_TARGET)/TestVersionComparator$(BIN_SUFFIX)" @echo "Running XPIDL tests" $(XPIDL_COMPILE) -m header $(srcdir)/TestScriptable.idl @if grep Notscriptable TestScriptable.h | grep -q NS_SCRIPTABLE ; then \