mirror of https://github.com/ARMmbed/mbed-os.git
ScanCode can possibly return many licenses found for a single file scanned. This commit ensures that the file is not reported as lacking a permissive license if at least one license found in it is permissive. Previously the script was reporting an issue if it found at least one license in a file that was not permissive. Additionally catch more errors and provide specific details about failures. Provide unitest. |
||
|---|---|---|
| .. | ||
| scancode_test_1.json | ||
| scancode_test_2.json | ||
| scancode_test_3.json | ||
| scancode_test_4.json | ||