Title: [260484] trunk/Tools
Revision
260484
Author
jlew...@apple.com
Date
2020-04-21 18:46:50 -0700 (Tue, 21 Apr 2020)

Log Message

Bindings-test should not depend on current working directory.
https://bugs.webkit.org/show_bug.cgi?id=210831

Reviewed by Jonathan Bedard.

* Scripts/webkitpy/bindings/main.py:
(BindingsTests.main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (260483 => 260484)


--- trunk/Tools/ChangeLog	2020-04-22 01:34:57 UTC (rev 260483)
+++ trunk/Tools/ChangeLog	2020-04-22 01:46:50 UTC (rev 260484)
@@ -1,3 +1,13 @@
+2020-04-21  Matt Lewis  <jlew...@apple.com>
+
+        Bindings-test should not depend on current working directory.
+        https://bugs.webkit.org/show_bug.cgi?id=210831
+
+        Reviewed by Jonathan Bedard.
+
+        * Scripts/webkitpy/bindings/main.py:
+        (BindingsTests.main):
+
 2020-04-21  Daniel Bates  <daba...@apple.com>
 
         Attempt to fix the build after r260449

Modified: trunk/Tools/Scripts/webkitpy/bindings/main.py (260483 => 260484)


--- trunk/Tools/Scripts/webkitpy/bindings/main.py	2020-04-22 01:34:57 UTC (rev 260483)
+++ trunk/Tools/Scripts/webkitpy/bindings/main.py	2020-04-22 01:46:50 UTC (rev 260484)
@@ -176,7 +176,7 @@
         return passed
 
     def main(self):
-        current_scm = detect_scm_system(os.curdir)
+        current_scm = detect_scm_system(os.path.dirname(__file__))
         os.chdir(os.path.join(current_scm.checkout_root, 'Source'))
 
         all_tests_passed = True
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to