Author: adrian Date: Tue Jul 7 16:45:48 2015 New Revision: 241630 URL: http://llvm.org/viewvc/llvm-project?rev=241630&view=rev Log: Add target requirements to testcases that emit PCH.
Modified: cfe/trunk/test/OpenMP/sections_lastprivate_codegen.cpp cfe/trunk/test/OpenMP/sections_reduction_codegen.cpp cfe/trunk/test/OpenMP/single_firstprivate_codegen.cpp cfe/trunk/test/OpenMP/single_private_codegen.cpp cfe/trunk/test/OpenMP/task_codegen.cpp cfe/trunk/test/OpenMP/task_firstprivate_codegen.cpp cfe/trunk/test/OpenMP/task_if_codegen.cpp cfe/trunk/test/OpenMP/task_private_codegen.cpp cfe/trunk/test/OpenMP/taskgroup_codegen.cpp cfe/trunk/test/OpenMP/taskwait_codegen.cpp cfe/trunk/test/Sema/x86_64-linux-android.c Modified: cfe/trunk/test/OpenMP/sections_lastprivate_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/sections_lastprivate_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/sections_lastprivate_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/sections_lastprivate_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DLAMBDA -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=LAMBDA %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/sections_reduction_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/sections_reduction_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/sections_reduction_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/sections_reduction_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DLAMBDA -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=LAMBDA %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/single_firstprivate_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/single_firstprivate_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/single_firstprivate_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/single_firstprivate_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DLAMBDA -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=LAMBDA %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/single_private_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/single_private_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/single_private_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/single_private_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DLAMBDA -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck -check-prefix=LAMBDA %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/task_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/task_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/task_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/task_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s // expected-no-diagnostics - +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/task_firstprivate_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/task_firstprivate_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/task_firstprivate_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/task_firstprivate_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -5,7 +5,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DARRAY -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=ARRAY %s // expected-no-diagnostics - +// REQUIRES: x86-registered-target // It doesn't pass on win32. // REQUIRES: shell #ifndef ARRAY Modified: cfe/trunk/test/OpenMP/task_if_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/task_if_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/task_if_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/task_if_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-apple-darwin10 -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck --check-prefix=CHECK %s +// REQUIRES: x86-registered-target // expected-no-diagnostics #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/task_private_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/task_private_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/task_private_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/task_private_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -5,7 +5,7 @@ // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s // RUN: %clang_cc1 -verify -fopenmp -x c++ -std=c++11 -DARRAY -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=ARRAY %s // expected-no-diagnostics - +// REQUIRES: x86-registered-target // It doesn't pass on win32. Investigating. // REQUIRES: shell Modified: cfe/trunk/test/OpenMP/taskgroup_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/taskgroup_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/taskgroup_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/taskgroup_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -3,7 +3,7 @@ // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -fexceptions -fcxx-exceptions -gline-tables-only -x c++ -emit-llvm %s -o - | FileCheck %s --check-prefix=TERM_DEBUG // expected-no-diagnostics - +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/OpenMP/taskwait_codegen.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/taskwait_codegen.cpp?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/OpenMP/taskwait_codegen.cpp (original) +++ cfe/trunk/test/OpenMP/taskwait_codegen.cpp Tue Jul 7 16:45:48 2015 @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s // expected-no-diagnostics - +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER Modified: cfe/trunk/test/Sema/x86_64-linux-android.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/x86_64-linux-android.c?rev=241630&r1=241629&r2=241630&view=diff ============================================================================== --- cfe/trunk/test/Sema/x86_64-linux-android.c (original) +++ cfe/trunk/test/Sema/x86_64-linux-android.c Tue Jul 7 16:45:48 2015 @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-linux-android -emit-pch -o %t %s // RUN: %clang_cc1 -x ast -ast-print %t | FileCheck %s - +// REQUIRES: x86-registered-target extern int a1_0[sizeof(long double) == 16 ? 1 : -1]; extern int a1_i[__alignof(long double) == 16 ? 1 : -1]; _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits