Skip to content

Commit 7c953eb

Browse files
committed
Initial commit for timeout hang test
1 parent 6eb4193 commit 7c953eb

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import lit.formats
2+
3+
config.name = "timeout-hang"
4+
config.suffixes = [".py"]
5+
config.test_format = lit.formats.ShTest()
6+
config.test_source_root = None
7+
config.test_exec_root = None
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# RUN: nonexistent
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# REQUIRES: lit-max-individual-test-time
2+
3+
# https://github.com/llvm/llvm-project/issues/133914
4+
5+
# RUN: not %{lit} %{inputs}/timeout-hang/run-nonexistent.py \
6+
# RUN: --timeout=1 --param external=0 -a

0 commit comments

Comments
 (0)