[Webkit-unassigned] [Bug 82962] New: run-webkit-tests with a relative --root causes tests to fail because DYLD_LIBRARY_PATH is not set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 2 16:00:31 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82962

           Summary: run-webkit-tests with a relative --root causes tests
                    to fail because DYLD_LIBRARY_PATH is not set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: eric at webkit.org, ojan at chromium.org,
                    dpranke at chromium.org


On some of our bots we run run-webkit-tests with a --root parameter that is a folder name, rather than an absolute path.

That causes _build_path() to return just the folder name, which is then used to set DYLD_FRAMEWORK_PATH and DYLD_LIBRARY PATH, causing problems.

Its seems that _build_path() should always return an absolute path. Changing the last line to self._filesystem.join(os.getcwd(), build_directory, *comps) seems to work.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list