This patch makes a couple changes to the tests: * Remove check for Copyright line. The Copyright line should not be mandatory. * Remove dependency of GPL-related checks on the copyrigth line existence. (this highlights several missed checks). * Skip testing-related templates. Koha ships some templates that are not excluded correctly. This 'fix' will highlight existing errors that were skipped until now. To test: 1. Run: $ ktd --shell k$ prove xt/find-license-problems.t => FAIL: Tests pass! Some files should make them fail! 2. Apply this patch 3. Repeat 1 => SUCCESS: Tests fail! Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| author | ||
| api.t | ||
| check_makefile.t | ||
| find-license-problems.t | ||
| find-misplaced-executables.t | ||
| find-missing-auth_checks.t | ||
| find-missing-csrf.t | ||
| find-missing-filters.t | ||
| find-missing-op-in-forms.t | ||
| js_tidy.t | ||
| single_quotes.t | ||
| tt_valid.t | ||
| verify-debian-docbook.t | ||
| verify-yarnlock.t | ||
| verify_bib1.att.t | ||
| vue_tidy.t | ||
| yaml_valid.pl | ||
| yaml_valid.t | ||