Merge lp://qastaging/~fgimenez/snapcraft/build-examples-test into lp://qastaging/~snappy-dev/snapcraft/core
Proposed by
Federico Gimenez
Status: | Merged |
---|---|
Approved by: | Leo Arias |
Approved revision: | 178 |
Merged at revision: | 197 |
Proposed branch: | lp://qastaging/~fgimenez/snapcraft/build-examples-test |
Merge into: | lp://qastaging/~snappy-dev/snapcraft/core |
Diff against target: |
318 lines (+153/-61) 13 files modified
debian/control (+11/-0) debian/rules (+3/-0) debian/snapcraft-examples.install (+1/-0) debian/snapcraft.install (+3/-0) debian/source/options (+0/-5) debian/tests/control (+3/-2) debian/tests/runexamples (+2/-0) debian/tests/runtests (+2/-0) examples/downloader-with-wiki-parts/snapcraft.yaml (+1/-0) integration-tests/runtests.sh (+44/-18) integration-tests/units/examples.pxu (+10/-0) integration-tests/units/testplans.pxu (+6/-1) runtests.sh (+67/-35) |
To merge this branch: | bzr merge lp://qastaging/~fgimenez/snapcraft/build-examples-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leo Arias (community) | Needs Fixing | ||
Daniel Holbach (community) | Approve | ||
Sergio Schvezov | Needs Fixing | ||
Review via email: mp+270798@code.qastaging.launchpad.net |
Commit message
plainbox test for building the examples
Description of the change
plainbox test for building the examples
To post a comment you must log in.
Thanks, this is a good start, looping over everything in examples will do the initial trick. In the future I will split this out a bit and use something a bit more custom for each checking if stage and snap have the right set of files for example.
The reason I set to needs fixing though is because of 'run_examples_ tests.sh' , it seems there is too much duplicate code here and in runtests.sh, it also introduces one more driver for them.
I'd like to see this at least driven by an envvar or command arg
./runtests.sh all (default)
./runtests.sh unit
./runtest.sh plainbox
./runtest.sh plainbox examples|normal
Thoughts?