Bug 636641 - remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB
authorJoel Maher <jmaher@mozilla.com>
Fri, 11 Mar 2011 09:15:34 -0500
changeset 63389 1512e152385ef9eee4e4e6ed68b7c969631bf422
parent 63388 2269cb1136f91fd8828c2061987d8a18296ad2e4
child 63390 4512b571e48e270d4369c10127acde01769550ff
push id19184
push userjmaher@mozilla.com
push dateFri, 11 Mar 2011 14:19:52 +0000
treeherdermozilla-central@4512b571e48e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersctalbert, NPOTB
bugs636641
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 636641 - remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB
layout/tools/reftest/remotereftest.py
--- a/layout/tools/reftest/remotereftest.py
+++ b/layout/tools/reftest/remotereftest.py
@@ -370,17 +370,17 @@ def main():
     automation.setRemoteProfile(options.remoteProfile)
     automation.setRemoteLog(options.remoteLogFile)
     reftest = RemoteReftest(automation, dm, options, SCRIPT_DIRECTORY)
 
     # Start the webserver
     reftest.startWebServer(options)
 
     # Hack in a symbolic link for jsreftest
-    os.system("ln -s ../jsreftest jsreftest")
+    os.system("ln -s ../jsreftest " + str(os.path.join(SCRIPT_DIRECTORY, "jsreftest")))
 
     # Dynamically build the reftest URL if possible, beware that args[0] should exist 'inside' the webroot
     manifest = args[0]
     if os.path.exists(os.path.join(SCRIPT_DIRECTORY, args[0])):
         manifest = "http://" + str(options.remoteWebServer) + ":" + str(options.httpPort) + "/" + args[0]
     elif os.path.exists(args[0]):
         manifestPath = os.path.abspath(args[0]).split(SCRIPT_DIRECTORY)[1].strip('/')
         manifest = "http://" + str(options.remoteWebServer) + ":" + str(options.httpPort) + "/" + manifestPath