From: Eric Liu Date: Wed, 30 Jan 2019 11:24:04 +0000 (+0000) Subject: [OpenGL] Fix test on PPC after r352540 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9808aa2d753fb68da359bde9391b20917b360623;p=clang [OpenGL] Fix test on PPC after r352540 Summary: Specify -triple like test/SemaOpenCL/logical-ops.cl. Otherwise, this test fails on PPC. Reviewers: bkramer Subscribers: Anastasia, cfe-commits Differential Revision: https://reviews.llvm.org/D57442 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352618 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaOpenCL/format-strings-fixit.cl b/test/SemaOpenCL/format-strings-fixit.cl index f30fb756b3..533e64d7ca 100644 --- a/test/SemaOpenCL/format-strings-fixit.cl +++ b/test/SemaOpenCL/format-strings-fixit.cl @@ -1,7 +1,7 @@ // RUN: cp %s %t -// RUN: %clang_cc1 -cl-std=CL1.2 -pedantic -Wall -fixit %t -// RUN: %clang_cc1 -cl-std=CL1.2 -fsyntax-only -pedantic -Wall -Werror %t -// RUN: %clang_cc1 -cl-std=CL1.2 -E -o - %t | FileCheck %s +// RUN: %clang_cc1 -cl-std=CL1.2 -pedantic -Wall -fixit %t -triple x86_64-unknown-linux-gnu +// RUN: %clang_cc1 -cl-std=CL1.2 -fsyntax-only -pedantic -Wall -Werror %t -triple x86_64-unknown-linux-gnu +// RUN: %clang_cc1 -cl-std=CL1.2 -E -o - %t -triple x86_64-unknown-linux-gnu | FileCheck %s #pragma OPENCL EXTENSION cl_khr_fp64 : enable