[lit][NFC] not check stdout in googletest-timeout.py

This is flicky for buildbots (for example, https://lab.llvm.org/buildbot/#/builders/188/builds/21560)
because of the short timeout. The test coverage is not reduced because
the stdout check is performed in other googtest-* unit tests.
This commit is contained in:
Yuanfang Chen 2022-10-30 23:17:50 -07:00
parent e18c2c5548
commit 500876226c
2 changed files with 0 additions and 4 deletions

View File

@ -54,8 +54,6 @@ if os.environ['GTEST_SHARD_INDEX'] == '0':
f.write(output)
exit_code = 0
elif test_name == 'InfiniteLoopSubTest':
print('[ RUN ] T.InfiniteLoopSubTest', flush=True)
print('some in progess output', file=sys.stderr, flush=True)
while True:
pass
else:

View File

@ -26,8 +26,6 @@
# CHECK-INF-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=2 GTEST_SHARD_INDEX=0 {{.*}}[[FILE]]
# CHECK-INF-NEXT: --
# CHECK-INF-EMPTY:
# CHECK-INF-NEXT: [ RUN ] T.InfiniteLoopSubTest
# CHECK-INF-NEXT: some in progess output
# CHECK-INF-EMPTY:
# CHECK-INF-NEXT: --
# CHECK-INF-NEXT: exit: