From: Diogo N. Sampaio Date: Thu, 9 May 2019 11:23:00 +0000 (+0000) Subject: [FIX] Change test to read file instead X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adad603371a746bba906d8b32b338f207cea11ac;p=clang [FIX] Change test to read file instead This should fix the test file failing in windows by reading the file it self instead of stdin, from 543913c3b41f git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360329 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/arm-cortex-cpus.c b/test/Driver/arm-cortex-cpus.c index 2e1fb992f4..f73fc778ea 100644 --- a/test/Driver/arm-cortex-cpus.c +++ b/test/Driver/arm-cortex-cpus.c @@ -856,5 +856,5 @@ // CHECK-CASE-INSENSITIVE-V6T2-THUMB: "-cc1"{{.*}} "-triple" "thumbv6t2-{{.*}} "-target-cpu" "arm1156t2-s" // ================== Check that the correct PROCESSOR features are added when used -mcpu=PROCESSOR+FEATURESLIST -// RUN: %clang -### --target=arm-arm-none-eabi -march=armv7-a -mcpu=cortex-a8+nocrc -x c -S -o - - <<< "" 2>&1 | FileCheck -check-prefix=A8FEATURES %s +// RUN: %clang -### --target=arm-arm-none-eabi -march=armv7-a -mcpu=cortex-a8+nocrc -c %s 2>&1 | FileCheck -check-prefix=A8FEATURES %s // A8FEATURES: "-target-feature" "+dsp"