Skip to content

Commit 1f0b3a7

Browse files
Add code comment to address review
1 parent 33588ca commit 1f0b3a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
# throwing an exception. We expect this to fail immediately, rather than
99
# timeout.
1010

11+
# lit should return immediately once it fails to execute the non-existent file.
12+
# This will take a variable amount of time depending on process scheduling, but
13+
# it should always be significantly less than the hard timeout, which is the
14+
# point where lit would cancel the test.
1115
# DEFINE: %{grace_period}=5
1216
# DEFINE: %{hard_timeout}=15
1317

0 commit comments

Comments
 (0)