WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
172368
[GTK] Fix developer mode builds from release tarballs
https://bugs.webkit.org/show_bug.cgi?id=172368
Summary
[GTK] Fix developer mode builds from release tarballs
Emanuele Aina
Reported
2017-05-19 11:15:34 PDT
The Tools/TestRunnerShared folder was missing from the tarball generated by `make distcheck`, breaking builds using `-DDEVELOPER_MODE=ON`.
Attachments
Patch
(2.20 KB, patch)
2017-05-19 11:18 PDT
,
Emanuele Aina
cgarcia
: review-
cgarcia
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Emanuele Aina
Comment 1
2017-05-19 11:18:32 PDT
Created
attachment 310674
[details]
Patch
Carlos Garcia Campos
Comment 2
2017-05-20 04:03:27 PDT
Comment on
attachment 310674
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=310674&action=review
> Tools/gtk/make-dist.py:247 > - command = ['cmake', '-DPORT=%s' % port, '-DCMAKE_INSTALL_PREFIX=%s' % install_dir, '-DCMAKE_BUILD_TYPE=Release', dist_dir] > + command = ['cmake', '-DPORT=%s' % port, '-DCMAKE_INSTALL_PREFIX=%s' % install_dir, '-DCMAKE_BUILD_TYPE=Release', '-DDEVELOPER_MODE=ON', dist_dir]
The point of make distcheck is precisely to make a production build, ensuring it builds without the developer mode.
> Tools/gtk/manifest.txt.in:88 > +directory Tools/TestRunnerShared
I don't know why we are including WTR in the tarball, because I don't think it's possible to run layout tests from a tarball anyway, since we are not including all the webkitpy and tools required. I think the right fix for this is to remove ImageDiff, WTR and DRT from the tarball. Only unit tests should be included, I think.
Carlos Garcia Campos
Comment 3
2017-06-13 09:07:46 PDT
While distcheck should always run a production build, I agree it should be possible to build a tarball with developer mode enabled. Layout tests will not be available, but api tests and other developer mode feature will, so we should fix it. We might add an option to the make-dist.py script to enable developer mode (disabled by default).
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