The unittests in autopkgtest are run twice
Bug #1596068 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias |
Bug Description
By the time autopkgtests are run, the package has already been built. In order to build the package, the unittests are executed. So by running them in autopkgtest, we are duplicating the work.
In addition to that, autopkgtest is intended to run as installed. The unit tests are white box importing the source modules.
We have to run only integration and snaps suites in autopkgtest.
[Impact]
* For users, none.
* For developers, faster execution times because unit tests are run only once.
[Test Case]
* N/A
[Regression Potential]
* None.
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
no longer affects: | Ubuntu Xenial |
no longer affects: | Ubuntu Yakkety |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/600