From 3525c3bdeaa10d9be11439b5598cbeec8916d8b3 Mon Sep 17 00:00:00 2001 From: Ranjeet Singh Date: Thu, 28 May 2015 15:55:34 +0000 Subject: [PATCH] [ARM] Be less specific about the error message expected. Differential Revision: http://reviews.llvm.org/D10087 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238436 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/arm-cortex-cpus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Driver/arm-cortex-cpus.c b/test/Driver/arm-cortex-cpus.c index 5052f3bb84..5032372062 100644 --- a/test/Driver/arm-cortex-cpus.c +++ b/test/Driver/arm-cortex-cpus.c @@ -201,13 +201,13 @@ // ================== Check that a bogus architecture gives an error // RUN: %clang -target arm -march=armbogusv6 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BOGUS %s -// CHECK-BOGUS: error: the clang compiler does not support '-march=armbogusv6' +// CHECK-BOGUS: error: {{.*}} does not support '-march=armbogusv6' // RUN: %clang -target arm---eabihf -march=armbogusv7 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BOGUS-HF %s -// CHECK-BOGUS-HF: error: the clang compiler does not support '-march=armbogusv7' +// CHECK-BOGUS-HF: error: {{.*}} does not support '-march=armbogusv7' // ================== Check that a bogus CPU gives an error // RUN: %clang -target arm -mcpu=bogus -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BOGUS-CPU %s -// CHECK-BOGUS-CPU: error: the clang compiler does not support '-mcpu=bogus' +// CHECK-BOGUS-CPU: error: {{.*}} does not support '-mcpu=bogus' // ================== Check default Architecture on each ARM11 CPU // RUN: %clang -target arm-linux-gnueabi -mcpu=arm1136j-s -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-CPUV6 %s -- 2.40.0