[93261] trunk/base/src/port1.0

jmr at macports.org jmr at macports.org
Fri May 18 07:09:50 PDT 2012


Revision: 93261
          https://trac.macports.org/changeset/93261
Author:   jmr at macports.org
Date:     2012-05-18 07:09:50 -0700 (Fri, 18 May 2012)
Log Message:
-----------
make sure unit tests use the right copy of macports

Modified Paths:
--------------
    trunk/base/src/port1.0/Makefile
    trunk/base/src/port1.0/tests/portdestroot.tcl
    trunk/base/src/port1.0/tests/portfetch.tcl

Modified: trunk/base/src/port1.0/Makefile
===================================================================
--- trunk/base/src/port1.0/Makefile	2012-05-18 14:08:15 UTC (rev 93260)
+++ trunk/base/src/port1.0/Makefile	2012-05-18 14:09:50 UTC (rev 93261)
@@ -33,5 +33,5 @@
 
 test::
 	${TCLSH} tests/portutil.tcl ${macports_tcl_dir}
-	${TCLSH} tests/portdestroot.tcl
-	${TCLSH} tests/portfetch.tcl
+	${TCLSH} tests/portdestroot.tcl ${macports_tcl_dir}
+	${TCLSH} tests/portfetch.tcl ${macports_tcl_dir}

Modified: trunk/base/src/port1.0/tests/portdestroot.tcl
===================================================================
--- trunk/base/src/port1.0/tests/portdestroot.tcl	2012-05-18 14:08:15 UTC (rev 93260)
+++ trunk/base/src/port1.0/tests/portdestroot.tcl	2012-05-18 14:09:50 UTC (rev 93261)
@@ -1,3 +1,4 @@
+source [file join [lindex $argv 0] macports1.0 macports_fastload.tcl]
 package require macports
 mportinit
 

Modified: trunk/base/src/port1.0/tests/portfetch.tcl
===================================================================
--- trunk/base/src/port1.0/tests/portfetch.tcl	2012-05-18 14:08:15 UTC (rev 93260)
+++ trunk/base/src/port1.0/tests/portfetch.tcl	2012-05-18 14:09:50 UTC (rev 93261)
@@ -1,3 +1,4 @@
+source [file join [lindex $argv 0] macports1.0 macports_fastload.tcl]
 package require macports
 mportinit
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120518/c47eb48b/attachment.html>


More information about the macports-changes mailing list