From f3fae65fcc1bc4a38da42f227d78d8e69407ef0e Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Fri, 13 Feb 2015 16:00:03 +0000 Subject: [PATCH] Add run line that was missing in r228999. Also, change the run lines to use -allow-empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229118 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/targettriple.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Linker/targettriple.ll b/test/Linker/targettriple.ll index 1a93b600892..87787067006 100644 --- a/test/Linker/targettriple.ll +++ b/test/Linker/targettriple.ll @@ -1,12 +1,14 @@ ; REQUIRES: shell ; RUN: llvm-link %s %S/Inputs/targettriple-a.ll -S -o - 2>%t.a.err | FileCheck %s -; RUN: (echo foo ;cat %t.a.err) | FileCheck --check-prefix=WARN-A %s +; RUN: cat %t.a.err | FileCheck --check-prefix=WARN-A %s --allow-empty ; RUN: llvm-link %s %S/Inputs/targettriple-b.ll -S -o - 2>%t.b.err | FileCheck %s ; RUN: cat %t.b.err | FileCheck --check-prefix=WARN-B %s +; RUN: llvm-link %s %S/Inputs/targettriple-c.ll -S -o - 2>%t.c.err | FileCheck %s +; RUN: cat %t.c.err | FileCheck --check-prefix=WARN-C %s --allow-empty ; RUN: llvm-link -suppress-warnings %s %S/Inputs/targettriple-b.ll -S -o - 2>%t.no-warn.err | FileCheck %s -; RUN: (echo foo ;cat %t.no-warn.err) | FileCheck --check-prefix=WARN-A %s +; RUN: cat %t.no-warn.err | FileCheck --check-prefix=WARN-A %s --allow-empty target triple = "x86_64-unknown-linux-gnu"