|
|
Created:
8 years, 7 months ago by M-A Ruel Modified:
5 years, 11 months ago CC:
chromium-reviews, nsylvain+cc_chromium.org, cmp+cc_chromium.org, csharp Visibility:
Public. |
DescriptionMake Chromium Mac 10.6 Shared not check for dependencies.
It is necessary since it builds all the targets and some targets require test data. Ensure tests_run=noop disable the isolate steps.
R=thakis@chromium.org
BUG=98636
TEST=
Patch Set 1 #Patch Set 2 : Use tests_run=noop instead #Messages
Total messages: 20 (0 generated)
Does this mean that `ninja all` now runs tests? (see also https://chromiumcodereview.appspot.com/10069047/ )
On 2012/04/30 15:26:54, Nico wrote: > Does this mean that `ninja all` now runs tests? (see also > https://chromiumcodereview.appspot.com/10069047/ ) No, isolate.py --mode's argument defaulted to 'check', which checks that the test data files are present. But I'm removing that from the default configuration since it's breaking from everywhere; https://chromiumcodereview.appspot.com/10261010/
On Mon, Apr 30, 2012 at 8:28 AM, <maruel@chromium.org> wrote: > On 2012/04/30 15:26:54, Nico wrote: >> >> Does this mean that `ninja all` now runs tests? (see also >> https://chromiumcodereview.appspot.com/10069047/ ) > > > No, isolate.py --mode's argument defaulted to 'check', which checks that the > test data files are present. But I'm removing that from the default > configuration since it's breaking from everywhere; > https://chromiumcodereview.appspot.com/10261010/ > > https://chromiumcodereview.appspot.com/10264010/ So this change here is no longer necessary?
Rewrote the CL. Now dependent on https://chromiumcodereview.appspot.com/10261010
Should 'noop' be the default for this gyp define?
On 2012/04/30 16:16:32, Nico wrote: > Should 'noop' be the default for this gyp define? No, I want devs to have the right default when they build FOO_run. This is only an issue on builders that do not build a specific target.
Ah, devs have full checkouts, gotcha. lgtm
On 2012/04/30 16:20:02, Nico wrote: > Ah, devs have full checkouts, gotcha. Except that they dont? A lot of dev use the override to nto get everything. And what about internal data? Most devs dont fetch src-internal at all. > > lgtm
On 2012/04/30 18:17:16, nsylvain wrote: > On 2012/04/30 16:20:02, Nico wrote: > > Ah, devs have full checkouts, gotcha. > Except that they dont? A lot of dev use the override to nto get everything. And > what about internal data? Most devs dont fetch src-internal at all. Then they don't run foo_run.
On 2012/04/30 18:21:00, Marc-Antoine Ruel wrote: > On 2012/04/30 18:17:16, nsylvain wrote: > > On 2012/04/30 16:20:02, Nico wrote: > > > Ah, devs have full checkouts, gotcha. > > Except that they dont? A lot of dev use the override to nto get everything. > And > > what about internal data? Most devs dont fetch src-internal at all. > > Then they don't run foo_run. If the _run stuff depends on src-internal, the default should be "noop". Running 'ninja all' should work for developers, without warnings or errors.
On 2012/04/30 18:27:41, Nico wrote: > On 2012/04/30 18:21:00, Marc-Antoine Ruel wrote: > > On 2012/04/30 18:17:16, nsylvain wrote: > > > On 2012/04/30 16:20:02, Nico wrote: > > > > Ah, devs have full checkouts, gotcha. > > > Except that they dont? A lot of dev use the override to nto get everything. > > And > > > what about internal data? Most devs dont fetch src-internal at all. > > > > Then they don't run foo_run. > > If the _run stuff depends on src-internal, the default should be "noop". Running > 'ninja all' should work for developers, without warnings or errors. foo_run aren't included in target 'all'.
On Mon, Apr 30, 2012 at 11:31 AM, <maruel@chromium.org> wrote: > On 2012/04/30 18:27:41, Nico wrote: > >> On 2012/04/30 18:21:00, Marc-Antoine Ruel wrote: >> > On 2012/04/30 18:17:16, nsylvain wrote: >> > > On 2012/04/30 16:20:02, Nico wrote: >> > > > Ah, devs have full checkouts, gotcha. >> > > Except that they dont? A lot of dev use the override to nto get >> > everything. > >> > And >> > > what about internal data? Most devs dont fetch src-internal at all. >> > >> > Then they don't run foo_run. >> > > If the _run stuff depends on src-internal, the default should be "noop". >> > Running > >> 'ninja all' should work for developers, without warnings or errors. >> > > foo_run aren't included in target 'all'. > Then why does not matter at all again? /me confused. > > https://chromiumcodereview.**appspot.com/10264010/<https://chromiumcodereview... >
On 2012/04/30 18:36:11, nsylvain wrote: > On Mon, Apr 30, 2012 at 11:31 AM, <mailto:maruel@chromium.org> wrote: > > On 2012/04/30 18:27:41, Nico wrote: > > Running > > > >> 'ninja all' should work for developers, without warnings or errors. > >> > > > > foo_run aren't included in target 'all'. > > > Then why does not matter at all again? > /me confused. Because some builders do not build 'all', they build everything. There's a difference.
As far as I understand, in ninja 'all' is everything, and 'All' is build/all.gyp (but I'm not sure).
On 2012/04/30 18:40:03, Nico wrote: > As far as I understand, in ninja 'all' is everything, and 'All' is build/all.gyp > (but I'm not sure). http://martine.github.com/ninja/manual.html doesn't document anything named "all".
Yes, it's written by tools/gyp/pylib/gyp/generator/ninja.py On Mon, Apr 30, 2012 at 11:48 AM, <maruel@chromium.org> wrote: > On 2012/04/30 18:40:03, Nico wrote: >> >> As far as I understand, in ninja 'all' is everything, and 'All' is > > build/all.gyp >> >> (but I'm not sure). > > > http://martine.github.com/ninja/manual.html doesn't document anything named > "all". > > https://chromiumcodereview.appspot.com/10264010/
On 2012/04/30 18:51:07, Nico wrote: > Yes, it's written by tools/gyp/pylib/gyp/generator/ninja.py I verified "ninja all" do build base_unittests_run. It's possible I leave the default to noop then. In any case, it makes sense to enforce it there as a safeguard.
In any case, I'm abandoning this patch since the noop trick is useless. The build tool still fails because it fails to find the files in "isolate_dependency_tracked". So the fix is to move the files not guaranteed to be present to "isolate_dependency_untracked".
On 2012/05/01 14:25:05, Marc-Antoine Ruel wrote: > In any case, I'm abandoning this patch since the noop trick is useless. The > build tool still fails because it fails to find the files in > "isolate_dependency_tracked". So the fix is to move the files not guaranteed to > be present to "isolate_dependency_untracked". Err, I had a rough morning. While isolate_dependency_untracked is necessary for potentially missing files, it is not sufficient, it must also use --mode=noop. So keeping this CL open. |