Koha-clms/xt
Tomas Cohen Arazi 82a39f7857
Bug 40419: Changes to testing logic
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 0a4b25acb5)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 48447cc30c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-08-01 14:50:29 +02:00
..
author Bug 31590: Remove Text::CSV::Unicode 2022-09-21 16:07:21 -03:00
api.t Bug 38929: Add 2 exceptions 2025-04-22 23:02:24 +02:00
check_makefile.t Bug 39304: Make sure git commands return something 2025-06-19 12:27:18 +02:00
find-license-problems.t Bug 40419: Changes to testing logic 2025-08-01 14:50:29 +02:00
find-misplaced-executables.t
…
find-missing-auth_checks.t Bug 24879: Exclude koha_perl_deps.pl 2024-04-03 17:05:51 +02:00
find-missing-csrf.t Bug 39304: Make sure git commands return something 2025-06-19 12:27:18 +02:00
find-missing-filters.t Bug 39304: Make sure git commands return something 2025-06-19 12:27:18 +02:00
find-missing-op-in-forms.t Bug 39304: Make sure git commands return something 2025-06-19 12:27:18 +02:00
js_tidy.t Bug 36374: flag JS files to keep tidy 2024-04-29 15:19:33 +02:00
single_quotes.t Bug 39304: Make sure git commands return something 2025-06-19 12:27:18 +02:00
tt_valid.t
…
verify-debian-docbook.t
…
verify-yarnlock.t Bug 37490: Add a test to detect when yarn.lock is not updated 2024-09-02 12:13:47 +02:00
verify_bib1.att.t Bug 32741: Regression tests 2023-02-02 11:59:26 -03:00
vue_tidy.t Bug 33625: Adjust test to deal with cypress tests 2023-05-17 10:24:59 -03:00
yaml_valid.pl
…
yaml_valid.t
…