Explorar o código

Force use of shipped perl modules instead of system ones for perl tests

Guillem Jover %!s(int64=18) %!d(string=hai) anos
pai
achega
a91b20ff60
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 5 0
      ChangeLog
  2. 1 1
      scripts/Makefile.am

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-11-04  Guillem Jover  <guillem@debian.org>
+
+	* scripts/Makefile.am (clean): Set PERL5LIB to force use of shipped
+	modules instead of system ones.
+
 2007-11-04  Guillem Jover  <guillem@debian.org>
 2007-11-04  Guillem Jover  <guillem@debian.org>
 
 
 	* scripts/dpkg-architecture.pl: Move host and build arch detection
 	* scripts/dpkg-architecture.pl: Move host and build arch detection

+ 1 - 1
scripts/Makefile.am

@@ -146,4 +146,4 @@ check: $(TEST_FILES) $(wildcard $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf*)
 # a bit hacky...
 # a bit hacky...
 	$(mkdir_p) t.tmp
 	$(mkdir_p) t.tmp
 	cp -dRl $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf* t.tmp/
 	cp -dRl $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf* t.tmp/
-	srcdir=$(srcdir) PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)
+	srcdir=$(srcdir) PERL5LIB=$(srcdir) PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)