File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tests/integration_tests/style Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2929INTEL_LICENSE = "SPDX-License-Identifier: Apache-2.0"
3030RIVOS_COPYRIGHT = "Copyright © 2023 Rivos, Inc."
3131RIVOS_LICENSE = "SPDX-License-Identifier: Apache-2.0"
32+ ORACLE_COPYRIGHT = "Copyright © 2020, Oracle and/or its affiliates."
33+ ORACLE_LICENSE = "SPDX-License-Identifier: Apache-2.0"
34+
35+ EXCLUDE = ["build" , ".kernel" , ".git" ]
3236
3337
3438def _has_amazon_copyright (string ):
@@ -90,13 +94,18 @@ def _validate_license(filename):
9094 file , RIVOS_LICENSE
9195 )
9296
97+ has_oracle_copyright = ORACLE_COPYRIGHT in copyright_info and _look_for_license (
98+ file , ORACLE_LICENSE
99+ )
100+
93101 return (
94102 has_amazon_copyright
95103 or has_chromium_copyright
96104 or has_tuntap_copyright
97105 or has_alibaba_copyright
98106 or has_intel_copyright
99107 or has_rivos_copyright
108+ or has_oracle_copyright
100109 )
101110
102111
You can’t perform that action at this time.
0 commit comments