mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Lower the warning count complaining threshold now that postgresql warnings are hidden
This commit is contained in:
parent
f35f74ae2e
commit
fe56eb2de7
1 changed files with 2 additions and 2 deletions
|
@ -149,9 +149,9 @@ TEST_LAUNCHER () {
|
||||||
# Check that the number of warning ain't higher than a treshold
|
# Check that the number of warning ain't higher than a treshold
|
||||||
local n_warnings=$(grep --extended-regexp '^[0-9]+\s+.{1,15}WARNING' $current_test_log | wc -l)
|
local n_warnings=$(grep --extended-regexp '^[0-9]+\s+.{1,15}WARNING' $current_test_log | wc -l)
|
||||||
# (we ignore this test for upgrade from older commits to avoid having to patch older commits for this)
|
# (we ignore this test for upgrade from older commits to avoid having to patch older commits for this)
|
||||||
if [ "$n_warnings" -gt 50 ] && [ "$test_type" != "TEST_UPGRADE" -o "$test_arg" == "" ]
|
if [ "$n_warnings" -gt 30 ] && [ "$test_type" != "TEST_UPGRADE" -o "$test_arg" == "" ]
|
||||||
then
|
then
|
||||||
if [ "$n_warnings" -gt 200 ]
|
if [ "$n_warnings" -gt 100 ]
|
||||||
then
|
then
|
||||||
log_error "There's A SHITLOAD of warnings in the output ! If those warnings are coming from some app build step and ain't actual warnings, please redirect them to the standard output instead of the error output ...!"
|
log_error "There's A SHITLOAD of warnings in the output ! If those warnings are coming from some app build step and ain't actual warnings, please redirect them to the standard output instead of the error output ...!"
|
||||||
log_report_test_failed
|
log_report_test_failed
|
||||||
|
|
Loading…
Add table
Reference in a new issue