Skip to content

Commit

Permalink
Add "rm -rf %t*" lines to unmanaged tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmccutchen-cci committed Feb 10, 2021
1 parent b245b59 commit 17fa09a
Show file tree
Hide file tree
Showing 71 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions clang/test/3C/allarrays.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/alloc_type_param.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests for malloc and friends.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/alreadychecked.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
// RUN: 3c -base-dir=%S -output-dir=%t.checked -alltypes %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsadvanced.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsbasic.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsbasicinfer.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsbyte.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsheuristics.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks wrong array heuristics.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrboundsinfer2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/arrtests_xfail.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/basic_inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests properties about constraint propagation between functions.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/basic_inter_field_ntarr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests rewriting of Nt_array_ptrs within structure fields

// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/basic_inter_ntarr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests rewriting and propagation of Nt_array_ptr constraints across functions.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/basic_local_ntarr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests basic rewriting of Nt_array_ptrs

// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/basic_return_itype.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests properties about rewriter for return type when it is an itype
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/boundary_tests.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Tests for 3C.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/bounds_interface.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Tests for the 3C.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/checkedregionvoid.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/complex_expression.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Tests for 3C.
//
// Tests 3c tool for complex expressions
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK","CHECK_NEXT" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK","CHECK_NEXT" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/const_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks for conversions involving const-qualified types.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/contextsensitivebounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Test for context sensitive bounds.
**/

// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unusedl -
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/contextsensitivebounds1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Test for context sensitive bounds for internal functions.
**/

// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/definedType.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/defn_then_decl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/difftypes_xfail1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/difftypes_xfail2.c --

// XFAIL: *
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/difftypes_xfail2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/difftypes_xfail1.c --

// XFAIL: *
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/dont_rewrite_header.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr -output-dir=%t.checked %S/dont_rewrite_header.c %S/dont_rewrite_header.h --
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/dont_rewrite_header.c --input-file %t.checked/dont_rewrite_header.c
// RUN: test ! -f %t.checked/dont_rewrite_header.h
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/extGVarbar1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/extGVarbar2.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked/extGVarbar1.c %s
//RUN: %clang -c %t.checked/extGVarbar1.c %t.checked/extGVarbar2.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/extGVarbar2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/extGVarbar1.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked2/extGVarbar2.c %s
//RUN: %clang -c %t.checked2/extGVarbar2.c %t.checked2/extGVarbar1.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/extGVarm1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/extGVarm2.c %S/extGVarm3.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked/extGVarm1.c %s
//RUN: %clang -c %t.checked/extGVarm1.c %t.checked/extGVarm2.c %t.checked/extGVarm3.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/extGVarm2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/extGVarm1.c %S/extGVarm3.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked2/extGVarm2.c %s
//RUN: %clang -c %t.checked2/extGVarm2.c %t.checked2/extGVarm3.c %t.checked2/extGVarm1.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/extGVarm3.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked3 %s %S/extGVarm1.c %S/extGVarm2.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked3/extGVarm3.c %s
//RUN: %clang -c %t.checked3/extGVarm3.c %t.checked3/extGVarm2.c %t.checked3/extGVarm1.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/functionDeclEnd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/global.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests for rewriting global declarations.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/hash.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -f3c-tool -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/inline_anon_structs.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/itypecast.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks cast insertion while passing arguments to itype parameters.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/liberal_itypes_fp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/liberal_itypes_ptr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/liberal_itypes_ptrptr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/lowerbound.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Generates graph q0 --> ARR --> q1, to confirm that bound bound
// constraints are properly solved
// The following test is supposed to fail with the current tool.
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/macroConcat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/manyprotos.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/multiconstant_bounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// When multiple constants are potential bounds, pick the lower constant.
// Issue: https://github.com/correctcomputation/checkedc-clang/issues/390
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -Xclang -verify -x c -o %t1.unused -
// expected-no-diagnostics
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/multidef_xfail1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/multidef_xfail2.c --

// XFAIL: *
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/multidef_xfail2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/multidef_xfail1.c --

// XFAIL: *
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/multipledecls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks handling of multiple declarations.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/multivardecls.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/no_casts.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S %s -- | diff %s -
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/noproto.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/order.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/partial_checked.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/partial_checked_arr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/patch_issue_272.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/placements.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks properties of functions.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK","CHECK_NOALL","CHECK-NEXT" %s
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK","CHECK_ALL","CHECK-NEXT" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/pointerarithm.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checked %s --
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/prototype_success1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/prototype_success2.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked/prototype_success1.c %s
//RUN: %clang -c %t.checked/prototype_success1.c %t.checked/prototype_success2.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/prototype_success2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//RUN: rm -rf %t*
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/prototype_success1.c --
//RUN: FileCheck -match-full-lines --input-file %t.checked2/prototype_success2.c %s
//RUN: %clang -c %t.checked2/prototype_success1.c %t.checked2/prototype_success2.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/ptrptr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/ptrtoconstarr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S --addcr --alltypes %s -- | %clang_cc1 -fcheckedc-extension -x c -
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/qualifiers.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checkedALL %s --
// RUN: 3c -base-dir=%S -output-dir=%t.checkedNOALL %s --
// RUN: %clang -c %t.checkedNOALL/qualifiers.c
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/regression_tests_xfail.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Tests 3c tool for any regressions.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
//
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/rewrite_header.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes -addcr -output-dir=%t.checked %S/rewrite_header.c %S/rewrite_header.h --
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/rewrite_header.c --input-file %t.checked/rewrite_header.c
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/rewrite_header.h --input-file %t.checked/rewrite_header.h
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/simple_locals.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Checks very simple inference properties for local variables.
//
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/stmtexpr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -

Expand Down
1 change: 1 addition & 0 deletions clang/test/3C/struct_init_list.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -
Expand Down
Loading

0 comments on commit 17fa09a

Please sign in to comment.