[cfe-commits] r166681 - in /cfe/trunk/test: Analysis/domtest.c CodeGenCXX/debug-info-pubtypes.cpp CodeGenObjC/debug-info-pubtypes.m CodeGenObjC/debug-info-self.m Modules/import-decl.cpp PCH/objc_container.m PCH/objc_literals.m PCH/objc_literals.mm Parser/recovery.cpp Preprocessor/user_defined_system_framework.c
Jordan Rose
jordan_rose at apple.com
Thu Oct 25 10:18:11 PDT 2012
Thanks, David!
Should we perhaps be blacklisting a literal " -cc1 " the way a literal " clang " is blacklisted? (See test/lit.cfg.)
On Oct 25, 2012, at 6:56 , David Tweed <david.tweed at arm.com> wrote:
> Author: davidtweed
> Date: Thu Oct 25 08:56:30 2012
> New Revision: 166681
>
> URL: http://llvm.org/viewvc/llvm-project?rev=166681&view=rev
> Log:
> Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions).
>
> Modified:
> cfe/trunk/test/Analysis/domtest.c
> cfe/trunk/test/CodeGenCXX/debug-info-pubtypes.cpp
> cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m
> cfe/trunk/test/CodeGenObjC/debug-info-self.m
> cfe/trunk/test/Modules/import-decl.cpp
> cfe/trunk/test/PCH/objc_container.m
> cfe/trunk/test/PCH/objc_literals.m
> cfe/trunk/test/PCH/objc_literals.mm
> cfe/trunk/test/Parser/recovery.cpp
> cfe/trunk/test/Preprocessor/user_defined_system_framework.c
>
> Modified: cfe/trunk/test/Analysis/domtest.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/domtest.c?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/Analysis/domtest.c (original)
> +++ cfe/trunk/test/Analysis/domtest.c Thu Oct 25 08:56:30 2012
> @@ -1,5 +1,5 @@
> // RUN: rm -f %t
> -// RUN: %clang -cc1 -analyze -analyzer-checker=debug.DumpDominators %s > %t 2>&1
> +// RUN: %clang_cc1 -analyze -analyzer-checker=debug.DumpDominators %s > %t 2>&1
> // RUN: FileCheck --input-file=%t %s
>
> // Test the DominatorsTree implementation with various control flows
>
> Modified: cfe/trunk/test/CodeGenCXX/debug-info-pubtypes.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-pubtypes.cpp?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/debug-info-pubtypes.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/debug-info-pubtypes.cpp Thu Oct 25 08:56:30 2012
> @@ -1,5 +1,5 @@
> // REQUIRES: x86-64-registered-target
> -// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -fno-limit-debug-info -S %s -o %t
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -fno-limit-debug-info -S %s -o %t
> // RUN: FileCheck %s < %t
>
> // FIXME: This testcase shouldn't rely on assembly emission.
>
> Modified: cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m (original)
> +++ cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m Thu Oct 25 08:56:30 2012
> @@ -1,5 +1,5 @@
> // REQUIRES: x86-64-registered-target
> -// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s
> +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s
>
> // CHECK: !5 = metadata !{i32 {{.*}}, metadata !6, metadata !"H", metadata !6, i32 6, i64 0, i64 8, i32 0, i32 512, null, metadata !2, i32 16, i32 0} ; [ DW_TAG_structure_type ]
>
>
> Modified: cfe/trunk/test/CodeGenObjC/debug-info-self.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-self.m?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenObjC/debug-info-self.m (original)
> +++ cfe/trunk/test/CodeGenObjC/debug-info-self.m Thu Oct 25 08:56:30 2012
> @@ -1,4 +1,4 @@
> -// RUN: %clang -cc1 -emit-llvm -g %s -o - | FileCheck %s
> +// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
> // self and _cmd are marked as DW_AT_artificial.
> // myarg is not marked as DW_AT_artificial.
>
>
> Modified: cfe/trunk/test/Modules/import-decl.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/import-decl.cpp?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/Modules/import-decl.cpp (original)
> +++ cfe/trunk/test/Modules/import-decl.cpp Thu Oct 25 08:56:30 2012
> @@ -1,6 +1,6 @@
> // RUN: rm -rf %t
> // RUN: %clang -fmodule-cache-path %t -fmodules -x objective-c -I %S/Inputs -emit-ast -o %t.ast %s
> -// RUN: %clang -cc1 -ast-print -x ast - < %t.ast | FileCheck %s
> +// RUN: %clang_cc1 -ast-print -x ast - < %t.ast | FileCheck %s
>
> @__experimental_modules_import import_decl;
> // CHECK: struct T
>
> Modified: cfe/trunk/test/PCH/objc_container.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_container.m?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/PCH/objc_container.m (original)
> +++ cfe/trunk/test/PCH/objc_container.m Thu Oct 25 08:56:30 2012
> @@ -4,8 +4,8 @@
> // Test with pch.
> // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
> // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
> -// RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
> -// RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
> +// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
> +// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
>
> // expected-no-diagnostics
>
>
> Modified: cfe/trunk/test/PCH/objc_literals.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_literals.m?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/PCH/objc_literals.m (original)
> +++ cfe/trunk/test/PCH/objc_literals.m Thu Oct 25 08:56:30 2012
> @@ -1,7 +1,7 @@
> -// RUN: %clang -cc1 -emit-pch -o %t %s
> -// RUN: %clang -cc1 -include-pch %t -verify %s
> -// RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
> -// RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
> +// RUN: %clang_cc1 -emit-pch -o %t %s
> +// RUN: %clang_cc1 -include-pch %t -verify %s
> +// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
> +// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
>
> // expected-no-diagnostics
>
>
> Modified: cfe/trunk/test/PCH/objc_literals.mm
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_literals.mm?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/PCH/objc_literals.mm (original)
> +++ cfe/trunk/test/PCH/objc_literals.mm Thu Oct 25 08:56:30 2012
> @@ -1,7 +1,7 @@
> -// RUN: %clang -cc1 -emit-pch -x objective-c++ -std=c++0x -o %t %s
> -// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x -verify %s
> -// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=PRINT %s
> -// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
> +// RUN: %clang_cc1 -emit-pch -x objective-c++ -std=c++0x -o %t %s
> +// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -verify %s
> +// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=PRINT %s
> +// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
>
> // expected-no-diagnostics
>
>
> Modified: cfe/trunk/test/Parser/recovery.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/recovery.cpp?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/Parser/recovery.cpp (original)
> +++ cfe/trunk/test/Parser/recovery.cpp Thu Oct 25 08:56:30 2012
> @@ -1,4 +1,4 @@
> -// RUN: %clang -cc1 -verify -std=c++11 %s
> +// RUN: %clang_cc1 -verify -std=c++11 %s
>
> 8gi///===--- recovery.cpp ---===// // expected-error {{unqualified-id}}
> namespace Std { // expected-note {{here}}
>
> Modified: cfe/trunk/test/Preprocessor/user_defined_system_framework.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/user_defined_system_framework.c?rev=166681&r1=166680&r2=166681&view=diff
> ==============================================================================
> --- cfe/trunk/test/Preprocessor/user_defined_system_framework.c (original)
> +++ cfe/trunk/test/Preprocessor/user_defined_system_framework.c Thu Oct 25 08:56:30 2012
> @@ -1,4 +1,4 @@
> -// RUN: %clang -cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s
> +// RUN: %clang_cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s
> // expected-no-diagnostics
>
> // Check that TestFramework is treated as a system header.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list