[llvm] r267179 - test: split test into two runs
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 11:06:51 PDT 2016
Author: compnerd
Date: Fri Apr 22 13:06:51 2016
New Revision: 267179
URL: http://llvm.org/viewvc/llvm-project?rev=267179&view=rev
Log:
test: split test into two runs
Rather than checking both stdout and stderr simultaneously, split it into two
tests. This apparently breaks on Windows where MSVCRT does not buffer output
correctly. NFC.
Thanks to chapuni for bringing the issue to my attention!
Modified:
llvm/trunk/test/CodeGen/ARM/Windows/dbzchk.ll
Modified: llvm/trunk/test/CodeGen/ARM/Windows/dbzchk.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/Windows/dbzchk.ll?rev=267179&r1=267178&r2=267179&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/Windows/dbzchk.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/Windows/dbzchk.ll Fri Apr 22 13:06:51 2016
@@ -79,6 +79,7 @@ return:
; CHECK-MOD-DAG: BB#4
; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -filetype asm -o - %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG
+; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -filetype asm -o - %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG-ASM
; unsigned c;
; extern unsigned long g(void);
@@ -133,14 +134,14 @@ attributes #0 = { optsize }
; CHECK-CFG-DAG: BB#5
; CHECK-CFG-DAG: t2UDF 249
-; CHECK-CFG-LABEL: h:
-; CHECK-CFG: cbz r{{[0-9]}}, .LBB2_2
-; CHECK-CFG: b .LBB2_4
-; CHECK-CFG-LABEL: .LBB2_2:
-; CHECK-CFG-NEXT: udf.w #249
-; CHECK-CFG-LABEL: .LBB2_4:
-; CHECK-CFG: bl __rt_udiv
-; CHECK-CFG: pop.w {{{.*}}, r11, pc}
+; CHECK-CFG-ASM-LABEL: h:
+; CHECK-CFG-ASM: cbz r{{[0-9]}}, .LBB2_2
+; CHECK-CFG-ASM: b .LBB2_4
+; CHECK-CFG-ASM-LABEL: .LBB2_2:
+; CHECK-CFG-ASM-NEXT: udf.w #249
+; CHECK-CFG-ASM-LABEL: .LBB2_4:
+; CHECK-CFG-ASM: bl __rt_udiv
+; CHECK-CFG-ASM: pop.w {{{.*}}, r11, pc}
; RUN: llc -O0 -mtriple thumbv7--windows-itanium -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-WIN__DBZCHK
More information about the llvm-commits
mailing list