From: David Peixotto Date: Fri, 6 Dec 2013 20:42:24 +0000 (+0000) Subject: Fix test case inefficiency X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d43083f91ac546c4a9179a980e43ec6c9dcfc0ca;p=clang Fix test case inefficiency Was accidently passing the file to clang twice. No functionaly change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196608 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/integrated-as.s b/test/Driver/integrated-as.s index 0843cf9345..a446f4a274 100644 --- a/test/Driver/integrated-as.s +++ b/test/Driver/integrated-as.s @@ -12,22 +12,22 @@ // SANITIZE: argument unused during compilation: '-fsanitize=address' // Test that -I params in -Wa, and -Xassembler args are passed to integrated assembler -// RUN: %clang -### -c -integrated-as %s -Wa,-I,foo_dir 2>&1 %s | FileCheck --check-prefix=WA_INCLUDE1 %s +// RUN: %clang -### -c -integrated-as %s -Wa,-I,foo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE1 %s // WA_INCLUDE1: cc1as // WA_INCLUDE1: "-I" "foo_dir" -// RUN: %clang -### -c -integrated-as %s -Wa,-Ifoo_dir 2>&1 %s | FileCheck --check-prefix=WA_INCLUDE2 %s +// RUN: %clang -### -c -integrated-as %s -Wa,-Ifoo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE2 %s // WA_INCLUDE2: cc1as // WA_INCLUDE2: "-Ifoo_dir" -// RUN: %clang -### -c -integrated-as %s -Wa,-I -Wa,foo_dir 2>&1 %s | FileCheck --check-prefix=WA_INCLUDE3 %s +// RUN: %clang -### -c -integrated-as %s -Wa,-I -Wa,foo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE3 %s // WA_INCLUDE3: cc1as // WA_INCLUDE3: "-I" "foo_dir" -// RUN: %clang -### -c -integrated-as %s -Xassembler -I -Xassembler foo_dir 2>&1 %s | FileCheck --check-prefix=XA_INCLUDE1 %s +// RUN: %clang -### -c -integrated-as %s -Xassembler -I -Xassembler foo_dir 2>&1 | FileCheck --check-prefix=XA_INCLUDE1 %s // XA_INCLUDE1: cc1as // XA_INCLUDE1: "-I" "foo_dir" -// RUN: %clang -### -c -integrated-as %s -Xassembler -Ifoo_dir 2>&1 %s | FileCheck --check-prefix=XA_INCLUDE2 %s +// RUN: %clang -### -c -integrated-as %s -Xassembler -Ifoo_dir 2>&1 | FileCheck --check-prefix=XA_INCLUDE2 %s // XA_INCLUDE2: cc1as // XA_INCLUDE2: "-Ifoo_dir"