[Bug 1915866] Re: build does not run tests in test/ directory

Dan Bungert 1915866 at bugs.launchpad.net
Fri Feb 19 00:05:56 UTC 2021


On analysis of this issue, I found that the upstream tests are being run
- it's just that failures go unnoticed due to the test runner
unconditionally returning exit code 0, pass or fail.  By enhancing this
runner to return exit code 1 upon test failure, we see the test failure
log without having to do anything special.

Also improve the cleanup target while I'm here.

** Changed in: iniparser (Ubuntu)
       Status: New => In Progress

** Patch added: "Error out on failing test, and improve cleanup target"
   https://bugs.launchpad.net/ubuntu/+source/iniparser/+bug/1915866/+attachment/5464909/+files/lp1915866.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iniparser in Ubuntu.
Matching subscriptions: foundations-bugs-with-comments
https://bugs.launchpad.net/bugs/1915866

Title:
  build does not run tests in test/ directory

Status in iniparser package in Ubuntu:
  In Progress

Bug description:
  The top level makefile contains a target 'check' which runs the tests
  under the test/ directory, but the 'check' target is not run during
  the build (and make is not run for the test/ directory manually
  either).

  Probably dh_auto_test should be overridden to also run 'make check' in
  the debian/rules file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iniparser/+bug/1915866/+subscriptions



More information about the foundations-bugs mailing list