Closed
Bug 977618
Opened 10 years ago
Closed 10 years ago
make test-integration builds profile every time
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
INVALID
tracking-b2g | backlog |
People
(Reporter: daleharvey, Assigned: daleharvey)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
even when I only change the tests
Assignee | ||
Updated•10 years ago
|
Blocks: dale-being-happy
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → dale
Attachment #8383124 -
Flags: review?(felash)
Updated•10 years ago
|
blocking-b2g: --- → backlog
Whiteboard: [systemsfe]
Comment 2•10 years ago
|
||
Dale, tell me if I'm wrong here, but ideally you'd want "APP=xxx make test-integration" to not run the profile generation steps. I think it used to be like this and this regressed with the recent build changes, but maybe we could ask Yuren to fix this instead of adding yet another env variable. What do you think? Obviously the real long-term goal would be to not renegerate the profile if we don't change any code.
Assignee | ||
Comment 3•10 years ago
|
||
Having make test-integration build the whole profile is on purpose, I actually regressed it recently by having it only build the apps profile and it broke the tests which have undocumented interdependencies (mostly every test at least depends on the system app) I will post what I think is the correct solution to the mailing list, I dont think fixing APP is what we should be doing, its all fundamentally messy, and in the meantime to having a proper fix it would be nice to have this noprofile option
Assignee | ||
Comment 4•10 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=978697 is what I think is the correct solution
Comment 5•10 years ago
|
||
Comment on attachment 8383124 [details] [review] https://github.com/mozilla-b2g/gaia/pull/16718 Hey Yuren, I don't feel comfortable reviewing this, maybe you'll have good ideas to share.
Attachment #8383124 -
Flags: review?(felash) → review?(yurenju.mozilla)
Comment 6•10 years ago
|
||
Dale, you can use below commands to run integration test without building profile everytime: PROFILE_FOLDER=profile-test make (only run it in first time) make test-integration-test
Comment 7•10 years ago
|
||
Comment on attachment 8383124 [details] [review] https://github.com/mozilla-b2g/gaia/pull/16718 I also add instructions on README.md https://github.com/mozilla-b2g/gaia/blob/master/README.md#running-tests-without-building-profile
Attachment #8383124 -
Flags: review?(yurenju.mozilla)
Assignee | ||
Comment 8•10 years ago
|
||
Awesome, as this was a hack, happy its not needed + documented However I want to make a note, we have not trivial problem of having too many build entry points into the same thing, bin/test-integration / make test-integration / tests/travis/script, they are often incompatible, take different arguments and different syntax, its bad API design and its confusing developers. running the integration tests should require developers to clone gaia and |make test-integration|, if we have different options to run the tests they should be different options to make test-integration
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•