Bug 25928

Summary: xt/find-license-problems.t should ignore release-tools
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: RESOLVED MOVED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, mtj
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24494
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Victor Grousset/tuxayo 2020-07-05 04:16:52 UTC
If release-tools are in the Koha repo, then it picked up by this test and causes errors.
Comment 1 Victor Grousset/tuxayo 2020-07-05 04:18:00 UTC
xt/find-license-problems.t .............................................. 1/? 
#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/httprecorder.pl has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/test-release.sh has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/get_commits.pl has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/roll_release.sh has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/koha-post-deploy.pl has wrong copyright: hasgpl=0, hasv3=1, hasorlater=1, haslinktolicense=1, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/install-fresh.pl has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/get_bugs.pl has wrong copyright: hasgpl=1, hasv3=0, hasorlater=1, haslinktolicense=0, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/release-tool.pl has wrong copyright: hasgpl=0, hasv3=1, hasorlater=1, haslinktolicense=1, hasfranklinst=0

#   Failed test at xt/find-license-problems.t line 62.
#          got: '0'
#     expected: '1'
# File ./release-tools/reprepro/conf/changelogs.example has wrong copyright: hasgpl=1, hasv3=0, hasorlater=0, haslinktolicense=0, hasfranklinst=0
xt/find-license-problems.t .............................................. 680/? # Looks like you failed 9 tests of 1168.
Comment 2 Jonathan Druart 2020-07-29 14:58:53 UTC
I think it should be fixed from release-tools instead.
Comment 3 Victor Grousset/tuxayo 2020-10-12 22:46:59 UTC
Makes sense, new ticket there: https://gitlab.com/koha-community/release-tools/-/issues/19