buildroot/support
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
..
config-fragments support/config-fragments/autobuild: update CSV after musl toolchain rename 2019-08-03 12:57:46 +02:00
dependencies support/dependencies: Add hint for ArchLinux when host needs IA32 libs 2019-05-10 11:04:09 +02:00
docker support/docker: use the distro-provided flake8 2018-06-17 20:54:02 +02:00
download support/download/git: fix formatting of error message 2019-06-20 18:14:49 +02:00
gnuconfig support/gnuconfig: update to 2019-05-28 2019-05-31 22:59:52 +02:00
kconfig support/kconfig/merge_config.sh: avoid false positive matches from comment lines 2018-11-24 10:11:15 +01:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool
misc Update for 2019.05 2019-06-02 10:01:07 +02:00
scripts support/scripts/pkg-stats: retrieve packages latest version using processes 2019-08-01 18:04:09 +02:00
testing support/testing: add test for check-package 2019-08-03 17:17:29 +02:00