Commit Graph

8 Commits

Author SHA1 Message Date
Salvatore Bonaccorso 0fdf2513b6 debian/tests/python: pycodestyle: Increase max-line-length to 100
Set the maximum allowed line length to 100 as the default of 79 is too
limiting small. Raising the allowed line length to 100 seems acceptable
enough.

This addresses autopkgtest failure for the python test since the
refactoring changes for debian/bin/gencontrol.py to factor out the
siable flags for installer modules, debug info and signed code.

Fixes: 9b82c45d67dc ("Factor out installer modules disable flag")
Fixes: 5a2d988f8612 ("Factor out debug info disable flag")
Fixes: 710b1f5b6d8c ("Add flag to disable signed code")
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
2020-09-05 09:18:34 +02:00
Ben Hutchings 406f867ae8 debian/tests/python: Fix spurious failure due to misuse of stderr
While pycodestyle and pyflakes wrongly write error messages to stdout,
the unittest module has the opposite bug: it writes successful status
messages to stderr.
2019-02-07 04:14:55 +00:00
Ben Hutchings 487f6f2253 Add missing debian/tests/python
This also should have been included in commit 91fad79906
"Add Python static checks and unit tests to autopkgtest tests".
2018-10-02 23:37:01 +01:00
Ben Hutchings 0d65a96da7 selftests: Run non-default tests
Use quicktest=1 in the main test run to avoid running default timer
tests twice.
2015-10-31 22:17:39 +00:00
Ben Hutchings ac28c69026 selftests: Ignore compiler warnings
We can't fix them all yet, and they shouldn't cause a test failure.
Patch memfd makefile to ensure we don't rebuild it and thus emit
warnings during a test run.
2015-10-31 22:04:13 +00:00
Ben Hutchings c6b835df09 tests: Add post-analysis of selftest output to find real failures 2015-10-31 22:04:13 +00:00
Ben Hutchings 9e2cf9c56b tests: Build and run selftests 2015-10-31 22:04:13 +00:00
Ben Hutchings 3d15b09115 tests: Begin autopkgtest wrapper for selftests
To start with, just use kexec to test that each kernel boots.
2015-10-31 22:04:13 +00:00