https://bugs.webkit.org/show_bug.cgi?id=82473
Reviewed by Philippe Normand.
Only use jhbuild if WebKitBuild/Dependencies exists (if update-webkitgtk-libs)
was ever run.
* gtk/run-with-jhbuild: Instead of using jhbuild unconditionally, first
check if the user has ever run update-gtk-libs and, if so, then use jhbuild.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113066
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-03 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] Tools/Scripts/run-gtk-tests should not force you to use the WebKit jhbuild
+ https://bugs.webkit.org/show_bug.cgi?id=82473
+
+ Reviewed by Philippe Normand.
+
+ Only use jhbuild if WebKitBuild/Dependencies exists (if update-webkitgtk-libs)
+ was ever run.
+
+ * gtk/run-with-jhbuild: Instead of using jhbuild unconditionally, first
+ check if the user has ever run update-gtk-libs and, if so, then use jhbuild.
+
2012-04-03 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
[EFL] DRT support for setInteractiveFormValidationEnabled
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import common
+import os
import subprocess
import sys
-jhbuild_wrapper = common.top_level_path('Tools', 'jhbuild', 'jhbuild-wrapper')
-process = subprocess.Popen([jhbuild_wrapper, '--gtk', 'run'] + sys.argv[1:])
+if not os.path.exists(common.top_level_path('WebKitBuild', 'Dependencies')):
+ process = subprocess.Popen(sys.argv[1:])
+else:
+ process = subprocess.Popen([common.top_level_path('Tools', 'jhbuild', 'jhbuild-wrapper'), '--gtk', 'run'] + sys.argv[1:])
process.wait()
sys.exit(process.returncode)