https://bugs.webkit.org/show_bug.cgi?id=89435
Reviewed by Martin Robinson.
* Scripts/new-run-webkit-tests: Don't run the tests with the
jhbuild wrapper if there isn't a Dependencies directory inside the
build directory.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121681
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-07-02 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Don't run the tests with jhbuild wrapper if it's already running under jhbuild
+ https://bugs.webkit.org/show_bug.cgi?id=89435
+
+ Reviewed by Martin Robinson.
+
+ * Scripts/new-run-webkit-tests: Don't run the tests with the
+ jhbuild wrapper if there isn't a Dependencies directory inside the
+ build directory.
+
2012-06-29 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
[Qt] Simplify detection of non-installed module file
# Wrap the NRWT process in the jhbuild environment so DRT or WKTR
# doesn't need to do it and their process id as reported by
# subprocess.Popen is not jhbuild's.
- if '--gtk' in sys.argv[1:]:
+ if '--gtk' in sys.argv[1:] and os.path.exists(os.path.join(script_dir, '..', '..', 'WebKitBuild', 'Dependencies')):
cmd.insert(1, os.path.join(script_dir, '..', 'gtk', 'run-with-jhbuild'))
proc = subprocess.Popen(cmd, env=env)