[lit] Implement support of per test timeout in lit.
[oota-llvm.git] / utils / lit / tests / Inputs / shtest-timeout / infinite_loop.py
1 # RUN: %{python} %s
2 from __future__ import print_function
3
4 import time
5 import sys
6
7 print("Running infinite loop")
8 sys.stdout.flush() # Make sure the print gets flushed so it appears in lit output.
9 while True:
10     pass