Skip to content

Commit

Permalink
Updated license script to ignore testdata directories, which often co…
Browse files Browse the repository at this point in the history
…ntain object files and other compilation results (flutter#13261)
  • Loading branch information
bkonyi authored Oct 21, 2019
1 parent 84a3365 commit a16b0f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
23 changes: 1 addition & 22 deletions ci/licenses_golden/licenses_third_party
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Signature: a418a65187112c66586ad4b47f6c2f6e
Signature: 2cc07f9d4ea778820af052007d9c6b64

UNUSED LICENSES:

Expand Down Expand Up @@ -3308,27 +3308,6 @@ FILE: ../../../third_party/boringssl/src/util/bot/yasm-win32.exe.sha1
FILE: ../../../third_party/boringssl/src/util/doc.config
FILE: ../../../third_party/boringssl/src/util/doc.go
FILE: ../../../third_party/boringssl/src/util/fipstools/delocate.peg.go
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-GlobalEntry/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-GlobalEntry/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-LoadToR0/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-LoadToR0/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-Sample/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-Sample/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-Sample2/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-Sample2/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-TOCWithOffset/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/ppc64le-TOCWithOffset/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-BSS/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-BSS/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-Basic/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-Basic/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-GOTRewrite/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-GOTRewrite/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-LabelRewrite/in1.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-LabelRewrite/in2.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-LabelRewrite/out.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-Sections/in.s
FILE: ../../../third_party/boringssl/src/util/fipstools/testdata/x86_64-Sections/out.s
FILE: ../../../third_party/dart/sdk/lib/_internal/vm/lib/bigint_patch.dart
FILE: ../../../third_party/dart/sdk_nnbd/lib/_internal/vm/lib/bigint_patch.dart
----------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ci/licenses_golden/tool_signature
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Signature: 7b11795b00951b599ebcb863350a0bfa
Signature: 08be4aac8462f27c271b92ad1770e25e

1 change: 1 addition & 0 deletions tools/licenses/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
entry.name != 'test' &&
entry.name != 'test.disabled' &&
entry.name != 'test_support' &&
entry.name != 'testdata' &&
entry.name != 'tests' &&
entry.name != 'javatests' &&
entry.name != 'testing' &&
Expand Down

0 comments on commit a16b0f9

Please sign in to comment.