r293026 - Try to fix test from r293004

Diana Picus via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 22:23:50 PST 2017


Author: rovka
Date: Wed Jan 25 00:23:50 2017
New Revision: 293026

URL: http://llvm.org/viewvc/llvm-project?rev=293026&view=rev
Log:
Try to fix test from r293004

This test broke on a lot of non-x86 buildbots with "unknowm CPU" errors. I don't
see anything platform-specific about this test, and it seems to work fine on ARM
if we just remove the -triple i686 flags from the run line.

Modified:
    cfe/trunk/test/Frontend/preprocessed-input.c

Modified: cfe/trunk/test/Frontend/preprocessed-input.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/preprocessed-input.c?rev=293026&r1=293025&r2=293026&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/preprocessed-input.c (original)
+++ cfe/trunk/test/Frontend/preprocessed-input.c Wed Jan 25 00:23:50 2017
@@ -1,4 +1,4 @@
 // RUN: %clang -E -o %t.i %s
-// RUN: %clang -Xclang -triple -Xclang i686-linux-gnu -c -o %t.o %t.i
+// RUN: %clang -c -o %t.o %t.i
 // RUN: llvm-objdump -t %t.o | FileCheck %s
 // CHECK: l{{ +}}df{{ +}}*ABS*{{ +}}{{0+}}{{.+}}preprocessed-input.c{{$}}




More information about the cfe-commits mailing list