Open maniackcrudelis opened 4 years ago
I see too many times the solution of an if on $PACKAGE_CHECK_EXEC to pass tests on package check...
While using $PACKAGE_CHECK_EXEC can be completely relevant, this is often seen as a simple way to pass falling tests.
I thought about matching it from Package_check, but it's clearly more relevant to match it from linter.
I know of 3 different way to avoid test in package check
uname -n | grep -c 'pchecker_lxc' env | grep -c container=lxc $PACKAGE_CHECK_EXEC
Often used behind the name IS_PACKAGE_CHECK
IS_PACKAGE_CHECK
A warning should be added for such an usage of ways to avoid tests. But only warning as it can be relevant and some apps do actually need that to be tested.
I see too many times the solution of an if on $PACKAGE_CHECK_EXEC to pass tests on package check...
While using $PACKAGE_CHECK_EXEC can be completely relevant, this is often seen as a simple way to pass falling tests.
I thought about matching it from Package_check, but it's clearly more relevant to match it from linter.
I know of 3 different way to avoid test in package check
Often used behind the name
IS_PACKAGE_CHECK
A warning should be added for such an usage of ways to avoid tests. But only warning as it can be relevant and some apps do actually need that to be tested.