kumquat-buildroot/support/testing/tests
Ricardo Martincoski 4323fbaf8d support/testing: add test for check-package
Check the basic usage for check-package.

It can be called using either absolute path, relative path or from PATH.
Files to be checked can be passed with either absolute path or relative
path (also including files in the current directory).

Also check it ignores some special files when checking intree files,
i.e. package/pkg-generic.mk, while still generating warnings for out-of-tree
files when called with -b.
In order to allow the later, add an empty line to the Config.in in the
br2-external being tested so the script does generate a warning.

Catches bug #11271.

More tests can be added later, for example compatibility to Python 3.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Arnout: wrap at 80 columns where appropriate; merge into a single
class.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-08-03 17:17:29 +02:00
..
boot support/testing: fix TestATFMarvell test case 2018-10-14 19:38:32 +02:00
core fs: don't use an intermediate tarball 2018-11-13 00:47:36 +01:00
download Revert "testing/tests/download: test git special ref" 2019-03-01 11:09:41 +01:00
fs support/testing/tests/fs/test_f2fs: fix flake8 warning 2018-11-08 22:41:53 +01:00
init support/tests: enhance the runtime systemd tests 2018-03-04 21:10:23 +01:00
package support/testing: test atop with builtin kernel 2019-08-03 14:53:05 +02:00
toolchain
utils support/testing: add test for check-package 2019-08-03 17:17:29 +02:00
__init__.py