]> granicus.if.org Git - clang/commitdiff
[FIX] Change test to read file instead
authorDiogo N. Sampaio <diogo.sampaio@arm.com>
Thu, 9 May 2019 11:23:00 +0000 (11:23 +0000)
committerDiogo N. Sampaio <diogo.sampaio@arm.com>
Thu, 9 May 2019 11:23:00 +0000 (11:23 +0000)
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

test/Driver/arm-cortex-cpus.c

index 2e1fb992f4a23fbe13e9cd8268a1e09fa20322fb..f73fc778ea6659724d131781edb0e856c4c9200b 100644 (file)
 // 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"