Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow more than one test file for a license
For now, we allow only one test file for license. Various licenses have variation. And we are adding more and more markup variations. But we do not have tests for them. I propose to test not just test/simpleTestForGenerator/${LICENSE}.txt but also test/simpleTestForGenerator/${LICENSE}.*.txt files. If they exists. Adding test/simpleTestForGenerator/BSD-3-Clause.edl-v10.txt as an example. This include enhancement to `test-one-license` only. Needs to be followed by enhancement of `LicenseRDFAGenerator` in `licenselistpublisher`. The output of `test-one-license` looks like: $ ./test-one-license BSD-3-Clause Testing test/simpleTestForGenerator/BSD-3-Clause.txt WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. License BSD 3-Clause "New" or "Revised" License passed Testing test/simpleTestForGenerator/BSD-3-Clause.edl-v10.txt WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. License BSD 3-Clause "New" or "Revised" License passed
- Loading branch information