Hi Daniel, On Sat, Nov 14, 2020 at 03:12:35AM +0100, Daniel Leidert wrote: > Hi there, > > I'd like to propose a minor change to how the automatic tests are created and > run in autopkgtest. By adding Testsuite: autopkgtest-pkg-ruby we enable some > automatically created autopkgtests. These are defined in the autodep8 package > in /usr/share/autodep8/support/ruby/. This creates debian/tests/control which > only runs gem2deb-test-runner trying to run the basic dependency check and (if > existent) the debian/ruby-tests.* files. > Check /usr/share/autodep8/support/ruby/generate. > > I'm not so happy because the tests are makred skippable and result in return > code 77 which is interpreted as a failure by autopkgtest thus making e.g. the > team's build script stop and not run the reverse-build tests. > > I think we should create two tests: > > 1) Run `gem2deb-test-runner -c` if a gemspec is available and mark the test > superficial, not skippable. Either return 0 if successful or anything else if > not, but never 77. IMHO this is semantically correct. These are just smoke > tests. IMHO some of you also participated in the discussion on debian-devel > about marking such tests superficial. > > 2) Run the autopkgtests `gem2deb-test-runner --autopkgtest` if any of the > debian/ruby-tests.* files is present. > > And of course package maintainers are still free to add more tests in > debian/tests/control. > > Let's get rid of this return code 77.
I don't understand what is the problem that you are trying to solve, can you ellaborate? skippable + exit 77 is interpreted by debci and britney as exactly the same as superficial and exit 0 (i.e. "neutral" result).
signature.asc
Description: PGP signature