Skip to content

Commit 5008762

Browse files
author
Yuanfang Chen
committed
[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.
1 parent e18c2c5 commit 5008762

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
f.write(output)
5555
exit_code = 0
5656
elif test_name == 'InfiniteLoopSubTest':
57-
print('[ RUN ] T.InfiniteLoopSubTest', flush=True)
58-
print('some in progess output', file=sys.stderr, flush=True)
5957
while True:
6058
pass
6159
else:

llvm/utils/lit/tests/googletest-timeout.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
# CHECK-INF-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=2 GTEST_SHARD_INDEX=0 {{.*}}[[FILE]]
2727
# CHECK-INF-NEXT: --
2828
# CHECK-INF-EMPTY:
29-
# CHECK-INF-NEXT: [ RUN ] T.InfiniteLoopSubTest
30-
# CHECK-INF-NEXT: some in progess output
3129
# CHECK-INF-EMPTY:
3230
# CHECK-INF-NEXT: --
3331
# CHECK-INF-NEXT: exit:

0 commit comments

Comments
 (0)