WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
82473
[GTK] Tools/Scripts/run-gtk-tests should not force you to use the WebKit jhbuild
https://bugs.webkit.org/show_bug.cgi?id=82473
Summary
[GTK] Tools/Scripts/run-gtk-tests should not force you to use the WebKit jhbuild
Carlos Garcia Campos
Reported
2012-03-28 09:17:12 PDT
We have Tools/gtk/run-with-jhbuild, so that whatever it needs to run with jhbuild can use that script.
Attachments
Patch
(5.44 KB, patch)
2012-03-28 09:22 PDT
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Patch
(1.65 KB, patch)
2012-03-28 11:43 PDT
,
Martin Robinson
pnormand
: review+
mrobinson
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2012-03-28 09:21:59 PDT
Can it by default use the wrapper unless some --no-jhbuild option is passed?
Carlos Garcia Campos
Comment 2
2012-03-28 09:22:07 PDT
Created
attachment 134311
[details]
Patch This way people not using jhbuild can use run-gtk-tests too, and we don't need a special case for when run-gtk-tests is executed by make check.
Carlos Garcia Campos
Comment 3
2012-03-28 09:23:11 PDT
(In reply to
comment #1
)
> Can it by default use the wrapper unless some --no-jhbuild option is passed?
I don't think we need another command line option for this
Philippe Normand
Comment 4
2012-03-28 09:26:34 PDT
(In reply to
comment #3
)
> (In reply to
comment #1
) > > Can it by default use the wrapper unless some --no-jhbuild option is passed? > > I don't think we need another command line option for this
This won't work on the bots, I'm afraid.
Carlos Garcia Campos
Comment 5
2012-03-28 09:29:52 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > (In reply to
comment #1
) > > > Can it by default use the wrapper unless some --no-jhbuild option is passed? > > > > I don't think we need another command line option for this > > This won't work on the bots, I'm afraid.
why? I updated the bot config to use run-with-jhbuild
Philippe Normand
Comment 6
2012-03-28 09:32:48 PDT
(In reply to
comment #5
)
> (In reply to
comment #4
) > > (In reply to
comment #3
) > > > (In reply to
comment #1
) > > > > Can it by default use the wrapper unless some --no-jhbuild option is passed? > > > > > > I don't think we need another command line option for this > > > > This won't work on the bots, I'm afraid. > > why? I updated the bot config to use run-with-jhbuild
Right, I missed that! Anyway, we discussed some time ago about being smart and detect if WebKitBuild/Dependencies are there and in that case run in jhbuild by default. Maybe we could start doing that?
Carlos Garcia Campos
Comment 7
2012-03-28 09:36:43 PDT
(In reply to
comment #6
)
> (In reply to
comment #5
) > > (In reply to
comment #4
) > > > (In reply to
comment #3
) > > > > (In reply to
comment #1
) > > > > > Can it by default use the wrapper unless some --no-jhbuild option is passed? > > > > > > > > I don't think we need another command line option for this > > > > > > This won't work on the bots, I'm afraid. > > > > why? I updated the bot config to use run-with-jhbuild > > Right, I missed that! > Anyway, we discussed some time ago about being smart and detect if WebKitBuild/Dependencies are there and in that case run in jhbuild by default. Maybe we could start doing that?
why running every command inside run-gtk-test with jhbuild when you can tun the whole script?
Carlos Garcia Campos
Comment 8
2012-03-28 09:37:54 PDT
Btw, I think we should so the same for build-webkit
Martin Robinson
Comment 9
2012-03-28 09:58:19 PDT
Comment on
attachment 134311
[details]
Patch I don't really understand this patch. Do you mind explaining it a bit better? It seems like it will make it more inconvenient for people using the WebKit jhbuild. The script already has the logic to avoid running jhbuild when it isn't there. What does it buy us?
Martin Robinson
Comment 10
2012-03-28 10:50:24 PDT
After talking with Carlos, it seems any solution that doesn't force him to use the WebKit jhbuild is okay. Instead of making it more inconvenient to use the WebKit jhbuild, it should just be possible to avoid using it. I think the tools can be smart enough to make the decision automatically. I'll upload a new patch shortly.
Martin Robinson
Comment 11
2012-03-28 11:43:03 PDT
Created
attachment 134355
[details]
Patch
Carlos Garcia Campos
Comment 12
2012-03-28 23:33:13 PDT
Comment on
attachment 134355
[details]
Patch Yeah, I think this is enough for me, thanks!
Philippe Normand
Comment 13
2012-03-30 01:01:36 PDT
Comment on
attachment 134355
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=134355&action=review
Can you fix the floowing little nit before landing?
> Tools/ChangeLog:8 > + Only use jhbuild if WebKitBuild/Dependencies (if update-
This seems to be truncated
Martin Robinson
Comment 14
2012-04-03 11:55:06 PDT
Committed
r113066
: <
http://trac.webkit.org/changeset/113066
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug