Closed yanniboi closed 8 years ago
I am running all drupal core simpletests with my module enabled, and I was really confused to see travis failing my build even though all the tests were passing. It turns out that the regex is catching some of the drupal test descriptions:
egrep -i "([1-9]+ fail)|(Fatal error)|([1-9]+ exception)" /tmp/simpletest-result.txt && exit 1
UserLoginTest.php Drupal\user\Tests\UserLoginTest Raw "There have been more than 3 failed login attempts for this account."
"[1-9]+ fail" catches "3 failed"
My potential solution: a37901c91bd7811871cfc01ec6ede480b2cdeb4e
I am running all drupal core simpletests with my module enabled, and I was really confused to see travis failing my build even though all the tests were passing. It turns out that the regex is catching some of the drupal test descriptions:
"[1-9]+ fail" catches "3 failed"