[PATCH] D25236: [lit] Fix test shtest-timeout.py for modern output

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 07:26:05 PDT 2016


mgorny created this revision.
mgorny added reviewers: ddunbar, delcypher.
mgorny added a subscriber: llvm-commits.
Herald added a subscriber: modocache.

Update the CHECK lines in the shtest-timeout.py lit test to account for
the current output. The output has been changed in r271610 without
adjust the tests.


https://reviews.llvm.org/D25236

Files:
  utils/lit/tests/shtest-timeout.py


Index: utils/lit/tests/shtest-timeout.py
===================================================================
--- utils/lit/tests/shtest-timeout.py
+++ utils/lit/tests/shtest-timeout.py
@@ -22,27 +22,26 @@
 # RUN: FileCheck  --check-prefix=CHECK-OUT-COMMON < %t.intsh.out %s
 # RUN: FileCheck --check-prefix=CHECK-INTSH-OUT < %t.intsh.out %s
 # RUN: FileCheck --check-prefix=CHECK-INTSH-ERR < %t.intsh.err %s
-#
+
 # CHECK-INTSH-OUT: TIMEOUT: per_test_timeout :: infinite_loop.py
-# CHECK-INTSH-OUT: Command 0 Reached Timeout: True
-# CHECK-INTSH-OUT: Command 0 Output:
+# CHECK-INTSH-OUT: command output:
 # CHECK-INTSH-OUT-NEXT: Running infinite loop
-
+# CHECK-INTSH-OUT: command reached timeout: True
 
 # CHECK-INTSH-OUT: TIMEOUT: per_test_timeout :: quick_then_slow.py
 # CHECK-INTSH-OUT: Timeout: Reached timeout of 1 seconds
 # CHECK-INTSH-OUT: Command Output
-# CHECK-INTSH-OUT: Command 0 Reached Timeout: False
-# CHECK-INTSH-OUT: Command 0 Output:
+# CHECK-INTSH-OUT: command output:
 # CHECK-INTSH-OUT-NEXT: Running in quick mode
-# CHECK-INTSH-OUT: Command 1 Reached Timeout: True
-# CHECK-INTSH-OUT: Command 1 Output:
+# CHECK-INTSH-OUT: command reached timeout: False
+# CHECK-INTSH-OUT: command output:
 # CHECK-INTSH-OUT-NEXT: Running in slow mode
+# CHECK-INTSH-OUT: command reached timeout: True
 
 # CHECK-INTSH-OUT: TIMEOUT: per_test_timeout :: slow.py
-# CHECK-INTSH-OUT: Command 0 Reached Timeout: True
-# CHECK-INTSH-OUT: Command 0 Output:
+# CHECK-INTSH-OUT: command output:
 # CHECK-INTSH-OUT-NEXT: Running slow program
+# CHECK-INTSH-OUT: command reached timeout: True
 
 # CHECK-INTSH-ERR: Using internal shell
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25236.73475.patch
Type: text/x-patch
Size: 1640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161004/9fa3a3cb/attachment.bin>


More information about the llvm-commits mailing list