[110128] branches/gsoc13-tests/src/macports1.0

marius at macports.org marius at macports.org
Mon Aug 26 13:32:04 PDT 2013


Revision: 110128
          https://trac.macports.org/changeset/110128
Author:   marius at macports.org
Date:     2013-08-26 13:32:04 -0700 (Mon, 26 Aug 2013)
Log Message:
-----------
macports1.0: fixed path in getdefaultportpath, ignored macports_test_autoconf.tcl

Modified Paths:
--------------
    branches/gsoc13-tests/src/macports1.0/tests/macports.test

Added Paths:
-----------
    branches/gsoc13-tests/src/macports1.0/svn-prop.tmp

Added: branches/gsoc13-tests/src/macports1.0/svn-prop.tmp
===================================================================
--- branches/gsoc13-tests/src/macports1.0/svn-prop.tmp	                        (rev 0)
+++ branches/gsoc13-tests/src/macports1.0/svn-prop.tmp	2013-08-26 20:32:04 UTC (rev 110128)
@@ -0,0 +1 @@
+macports_test_autoconf.tcl
\ No newline at end of file

Modified: branches/gsoc13-tests/src/macports1.0/tests/macports.test
===================================================================
--- branches/gsoc13-tests/src/macports1.0/tests/macports.test	2013-08-26 20:27:16 UTC (rev 110127)
+++ branches/gsoc13-tests/src/macports1.0/tests/macports.test	2013-08-26 20:32:04 UTC (rev 110128)
@@ -520,8 +520,10 @@
     if {[macports::getdefaultportresourcepath $path] != "${pwd}/_resources/${path}"} {
 	return "FAIL: wrong file res path"
     }
+
     set macports::sources_default http://$pwd
-    set right_path $pwd/portdbpath/sources/Volumes/Other/_resources/test/path
+    set default_source_url [lindex ${macports::sources_default} 0]
+    set right_path [macports::getsourcepath $default_source_url]/_resources/test/path
     if {[macports::getdefaultportresourcepath $path] != $right_path} {
 	return "FAIL: wrong http res path"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130826/eceafd07/attachment.html>


More information about the macports-changes mailing list