relax the rpass test

This commit is contained in:
Sylvestre Ledru 2021-10-14 21:05:59 +02:00
parent 57fc22d351
commit 0dcf8bb98f

View File

@ -1261,7 +1261,7 @@ int main(int argc, const char *argv[]) {
" > foo.cc
clang-$VERSION -O2 -Rpass=inline foo.cc -c &> foo.log
if ! grep -q -E "(inlined into main with|cost=always)" foo.log; then
if ! grep -q -E "(inlined into|cost=always)" foo.log; then
echo "-Rpass fails"
cat foo.log
exit 1