Skip to content

Commit

Permalink
A few test_updater tests no longer need a "diff -w".
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmccutchen-cci committed Jan 5, 2021
1 parent bc53ff2 commit 209a640
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion clang/test/3C/graphs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %S/3c-regtest.py --predefined-script common-diff-w %s -t %t --clang '%clang'
// RUN: %S/3c-regtest.py --predefined-script common %s -t %t --clang '%clang'

#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion clang/test/3C/ptr_array.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %S/3c-regtest.py --predefined-script common-diff-w %s -t %t --clang '%clang'
// RUN: %S/3c-regtest.py --predefined-script common %s -t %t --clang '%clang'

/* Tests for issue 60. Array initialization had not been implemented, so wild
pointer inside and array initializer did not cause the array to be an array
Expand Down
2 changes: 1 addition & 1 deletion clang/test/3C/ptrptr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %S/3c-regtest.py --predefined-script common-diff-w %s -t %t --clang '%clang'
// RUN: %S/3c-regtest.py --predefined-script common %s -t %t --clang '%clang'

#include <stddef.h>
#include <stddef.h>
Expand Down
8 changes: 4 additions & 4 deletions clang/test/3C/test_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,16 @@ def process_smart(filename, diff):
'funcptr3.c',
'funcptr4.c',
'graphs.c',
'graphs.c',
'graphs2.c',
'gvar.c',
'i1.c',
'i2.c',
'i3.c',
'linkedlist.c',
'malloc_array.c',
'ptr_array.c',
'ptrptr.c',
'realloc.c',
'realloc_complex.c',
'refarrsubscript.c',
Expand All @@ -126,10 +129,7 @@ def process_smart(filename, diff):
'valist.c',
'cast.c']

need_diff = ['compound_literal.c',
'graphs.c',
'ptr_array.c',
'ptrptr.c']
need_diff = ['compound_literal.c']

b_tests = ['b10_allsafepointerstruct.c',
'b11_calleestructnp.c',
Expand Down

0 comments on commit 209a640

Please sign in to comment.