[devscripts] 01/02: Remove licensecheck script in favor of the new licensecheck package

James McCoy jamessan at debian.org
Wed Jun 29 00:35:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit 1ebeeb5ee64e6684ae3b53c796565a0c8a46815a
Author: James McCoy <jamessan at debian.org>
Date:   Tue Jun 28 20:27:30 2016 -0400

    Remove licensecheck script in favor of the new licensecheck package
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 Makefile.common                               |   2 +-
 README                                        |   3 -
 conf.default.in                               |   9 -
 debian/changelog                              |   2 +
 debian/control                                |   2 +-
 debian/postinst                               |   9 -
 po4a/devscripts-po4a.conf                     |   2 -
 scripts/licensecheck.bash_completion          |  43 --
 scripts/licensecheck.pl                       | 928 --------------------------
 test/Makefile                                 |   2 -
 test/licensecheck/academic.h                  |   4 -
 test/licensecheck/artistic-2-0-modules.pm     | 239 -------
 test/licensecheck/artistic-2-0.txt            | 206 ------
 test/licensecheck/beerware.cpp                |   8 -
 test/licensecheck/boost.h                     |  34 -
 test/licensecheck/bsd-1-clause-1.c            |  24 -
 test/licensecheck/bsd-3-clause-authorsany.c   |  11 -
 test/licensecheck/bsd-3-clause.cpp            |  26 -
 test/licensecheck/bsd-regents.c               |  30 -
 test/licensecheck/bsd.f                       |  25 -
 test/licensecheck/bug-559429                  |  10 -
 test/licensecheck/cddl.h                      |  26 -
 test/licensecheck/comments-detection.h        |  19 -
 test/licensecheck/comments-detection.txt      |   6 -
 test/licensecheck/copr-iso8859.h              |  18 -
 test/licensecheck/copr-utf8.h                 |  20 -
 test/licensecheck/dual.c                      |  21 -
 test/licensecheck/duplicated-copyright.rb     |  43 --
 test/licensecheck/epl.h                       |  11 -
 test/licensecheck/false-positives             |  33 -
 test/licensecheck/freetype.c                  |  16 -
 test/licensecheck/gpl-1                       |  15 -
 test/licensecheck/gpl-2                       |  10 -
 test/licensecheck/gpl-2+                      |  14 -
 test/licensecheck/gpl-2+.scm                  |  14 -
 test/licensecheck/gpl-2-comma.sh              |   5 -
 test/licensecheck/gpl-2-incorrect-address     |  16 -
 test/licensecheck/gpl-3+                      |  11 -
 test/licensecheck/gpl-3+-with-rem-comment.xml |  18 -
 test/licensecheck/gpl-3+.el                   |  20 -
 test/licensecheck/gpl-3-only.c                |  12 -
 test/licensecheck/gpl-3.sh                    |  14 -
 test/licensecheck/gpl-no-version.h            |   8 -
 test/licensecheck/gpl-variation.c             |  13 -
 test/licensecheck/info-at-eof.h               | 388 -----------
 test/licensecheck/lgpl-2-3.c                  |  17 -
 test/licensecheck/lgpl-2.1.c                  |  15 -
 test/licensecheck/lgpl-2.1.h                  |  15 -
 test/licensecheck/lgpl-2.s                    |  11 -
 test/licensecheck/lgpl-3+.h                   |  13 -
 test/licensecheck/lgpl-big-blue.h             |  14 -
 test/licensecheck/lgpl-by-dist-zilla.pl       |  20 -
 test/licensecheck/lgpl-digia.c                |  32 -
 test/licensecheck/lgpl-no-version.h           |   8 -
 test/licensecheck/lgpl-variation.c            |  12 -
 test/licensecheck/libuv-isc.am                |  24 -
 test/licensecheck/llgpl.lisp                  |  13 -
 test/licensecheck/mame-style.c                |   6 -
 test/licensecheck/mpl-1.1.sh                  |  16 -
 test/licensecheck/mpl-2.0-comma.sh            |   5 -
 test/licensecheck/mpl-2.0.sh                  |   5 -
 test/licensecheck/multi-line-copyright.c      |  25 -
 test/licensecheck/regexp-killer.c             |  20 -
 test/licensecheck/texinfo.tex                 |  27 -
 test/test_licensecheck                        | 180 -----
 test/test_licensecheck_SL                     |  83 ---
 66 files changed, 4 insertions(+), 2947 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index 60270e9..57b1f4f 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,5 +1,5 @@
 GEN_MAN1S := bts.1 build-rdeps.1 chdist.1 dcontrol.1 debcheckout.1 debcommit.1 \
-	     deb-reversion.1 desktop2menu.1 dget.1 licensecheck.1 mass-bug.1 \
+	     deb-reversion.1 desktop2menu.1 dget.1 mass-bug.1 \
 	     mk-build-deps.1 mk-origtargz.1 namecheck.1 rmadison.1 sadt.1 svnpath.1 \
 	     tagpending.1 origtargz.1 transition-check.1 who-permits-upload.1
 
diff --git a/README b/README
index 59d8dd9..b0e7fe2 100644
--- a/README
+++ b/README
@@ -171,9 +171,6 @@ And now, in mostly alphabetical order, the scripts:
 - grep-excuses: grep the update_excuses.html file to find out what is
   happening to your packages. [libterm-size-perl, wget, w3m]
 
-- licensecheck: given a list of source files, attempt to determine which
-  license (or combination of licenses) each file is placed under.
-
 - list-unreleased: searches for packages marked UNRELEASED in their
   changelog
 
diff --git a/conf.default.in b/conf.default.in
index d10462a..e043136 100644
--- a/conf.default.in
+++ b/conf.default.in
@@ -458,15 +458,6 @@
 # excuses file
 # GREP_EXCUSES_FTP_MASTER=no
 
-##### licensecheck
-#
-# Print the file header being parsed before the corresponding license
-# information?
-# LICENSECHECK_VERBOSE=no
-#
-# How many lines of each file should be parsed for license information?
-# LICENSECHECK_PARSELINES=60
-
 ##### list-unreleased
 #
 # No variables currently
diff --git a/debian/changelog b/debian/changelog
index 8f4aba5..5549117 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ devscripts (2.16.6) UNRELEASED; urgency=medium
       Ilias Tsitsimpi for the patch.  (Closes: #826837)
   * Replace git-import-orig references with gbp-import-orig.  Thanks to Guido
     Günther for the patch.  (Closes: #828758)
+  * Remove licensecheck script and add a Recommends for the new licensecheck
+    package.  (Closes: #828872)
 
   [ Paul Wise ]
   * uscan:
diff --git a/debian/control b/debian/control
index 2b47f1f..651f79f 100644
--- a/debian/control
+++ b/debian/control
@@ -61,6 +61,7 @@ Recommends: apt,
             libencode-locale-perl,
             liburi-perl,
             libwww-perl,
+            licensecheck,
             lintian,
             man-db,
             patch,
@@ -169,7 +170,6 @@ Description: scripts to make the life of a Debian Package maintainer easier
   - getbuildlog: download package build logs from Debian auto-builders [wget]
   - grep-excuses: grep the update_excuses.html file for your packages
     [libterm-size-perl, wget, w3m]
-  - licensecheck: attempt to determine the license of source files
   - list-unreleased: search for unreleased packages
   - manpage-alert: locate binaries without corresponding manpages [man-db]
   - mass-bug: mass-file bug reports [bsd-mailx | mailx]
diff --git a/debian/postinst b/debian/postinst
index 74d0a04..518b878 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -277,15 +277,6 @@ EOF
             # Added in devscripts 2.10.3
             cat >> /etc/devscripts.conf <<EOF
 
-##### licensecheck options added in version 2.10.3
-#
-# Print the file header being parsed before the corresponding license
-# information?
-# LICENSECHECK_VERBOSE=no
-#
-# How many lines of each file should be parsed for license information?
-# LICENSECHECK_PARSELINES=60
-
 ##### debchange option added in version 2.10.3
 #
 # Use a fixed timezone in changelog entries?
diff --git a/po4a/devscripts-po4a.conf b/po4a/devscripts-po4a.conf
index 6d8c845..ce956aa 100644
--- a/po4a/devscripts-po4a.conf
+++ b/po4a/devscripts-po4a.conf
@@ -82,8 +82,6 @@
 	$lang:$lang/getbuildlog.$lang.1 add_$lang:?add_$lang/translator_man.add
 [type:man] ../scripts/grep-excuses.1 \
 	$lang:$lang/grep-excuses.$lang.1 add_$lang:?add_$lang/translator_man.add
-[type:pod] ../scripts/licensecheck.pl \
-	$lang:$lang/licensecheck.$lang.pl add_$lang:?add_$lang/translator_pod.add
 [type:man] ../scripts/list-unreleased.1 \
 	$lang:$lang/list-unreleased.$lang.1 add_$lang:?add_$lang/translator_man.add
 [type:man] ../scripts/manpage-alert.1 \
diff --git a/scripts/licensecheck.bash_completion b/scripts/licensecheck.bash_completion
deleted file mode 100644
index 73fdcad..0000000
--- a/scripts/licensecheck.bash_completion
+++ /dev/null
@@ -1,43 +0,0 @@
-# /usr/share/bash-completion/completions/licensecheck
-# Bash command completion for ‘licensecheck(1)’.
-# Documentation: ‘bash(1)’, section “Programmable Completion”.
-
-# Copyright © 2015, Nicholas Bamber <nicholas at periapt.co.uk>
-
-_licensecheck()
-{
-    local cur prev words cword i _options special _prefix
-    _init_completion || return
-
-    case $prev in
-        --tail)
-            COMPREPLY=( $( compgen -W '0 1000 2000 3000' -- "$cur" ) )
-            return 0
-            ;;
-        --lines)
-            COMPREPLY=( $( compgen -W '120 200 300 400' -- "$cur" ) )
-            return 0
-            ;;
-    esac
-
-    if [[ "$cur" == -* ]]; then
-        _options='--verbose --no-verbose --lines --ignore --recursive --tail --check --copyright --machine --skipped'
-        if [[ "$prev" == licensecheck ]]; then
-            _options+=' --no-conf'
-        fi
-        COMPREPLY=( $( compgen -W "${_options}" -- "$cur" ) )
-    else
-        COMPREPLY=( $( compgen -o filenames -f -- "$cur" ) )
-    fi
-
-    return 0
-} &&
-complete -F _licensecheck licensecheck
-
-
-# Local variables:
-# coding: utf-8
-# mode: shell-script
-# indent-tabs-mode: nil
-# End:
-# vim: fileencoding=utf-8 filetype=sh expandtabs shiftwidth=4 :
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
deleted file mode 100755
index 74eba93..0000000
--- a/scripts/licensecheck.pl
+++ /dev/null
@@ -1,928 +0,0 @@
-#!/usr/bin/perl
-# -*- tab-width: 8; indent-tabs-mode: t; cperl-indent-level: 4 -*-
-# This script was originally based on the script of the same name from
-# the KDE SDK (by dfaure at kde.org)
-#
-# This version is
-#   Copyright (C) 2007, 2008 Adam D. Barratt
-#   Copyright (C) 2012 Francesco Poli
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <https://www.gnu.org/licenses/>.
-
-=head1 NAME
-
-licensecheck - simple license checker for source files
-
-=head1 SYNOPSIS
-
-B<licensecheck> B<--help>|B<--version>
-
-B<licensecheck> [B<--no-conf>] [B<--verbose>] [B<--copyright>]
-[B<-l>|B<--lines=>I<N>] [B<-i>|B<--ignore=>I<regex>] [B<-c>|B<--check=>I<regex>]
-[B<-m>|B<--machine>] [B<-r>|B<--recursive>]  [B<-e>|B<--encoding=>I<...>]
-I<list of files and directories to check>
-
-=head1 DESCRIPTION
-
-B<licensecheck> attempts to determine the license that applies to each file
-passed to it, by searching the start of the file for text belonging to
-various licenses.
-
-If any of the arguments passed are directories, B<licensecheck> will add
-the files contained within to the list of files to process.
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<--verbose>, B<--no-verbose>
-
-Specify whether to output the text being processed from each file before
-the corresponding license information.
-
-Default is to be quiet.
-
-=item B<-l=>I<N>, B<--lines=>I<N>
-
-Specify the number of lines of each file's header which should be parsed
-for license information. (Default is 60).
-
-=item B<--tail=>I<N>
-
-By default, the last 5k bytes of each files are parsed to get license
-information. You may use this option to set the size of this parsed chunk.
-You may set this value to 0 to avoid parsing the end of the file.
-
-=item B<-i=>I<regex>, B<--ignore=>I<regex>
-
-When processing the list of files and directories, the regular
-expression specified by this option will be used to indicate those which
-should not be considered (e.g. backup files, VCS metadata).
-
-=item B<-r>, B<--recursive>
-
-Specify that the contents of directories should be added
-recursively.
-
-=item B<-c=>I<regex>, B<--check=>I<regex>
-
-Specify a pattern against which filenames will be matched in order to
-decide which files to check the license of.
-
-The default includes common source files.
-
-=item B<-s>, B<--skipped>
-
-Specify whether to show skipped files, i.e. files found which do not
-match the check regexp (see C<--check> option). Default is to not show
-skipped files.
-
-Note that ignored files (like C<.git> or C<.svn>) are not shown even when
-this option is used.
-
-=item B<--copyright>
-
-Also display copyright text found within the file
-
-=item B<--deb-fmt>
-
-Show license using Debian copyright format keywords (quite close to SPDX keywords).
-
-=item B<-e> B<--encoding>
-
-Specifies input encoding of source files. By default, input files are
-not decoded. When encoding is specified, license and copyright
-information are printed on STDOUT as utf8, or garbage if you got the
-encoding wrong.
-
-=item B<-m>, B<--machine>
-
-Display the information in a machine readable way, i.e. in the form
-<file><tab><license>[<tab><copyright>] so that it can be easily sorted
-and/or filtered, e.g. with the B<awk> and B<sort> commands.
-Note that using the B<--verbose> option will kill the readability.
-
-=item B<--no-conf>, B<--noconf>
-
-Do not read any configuration files. This can only be used as the first
-option given on the command line.
-
-=back
-
-=head1 CONFIGURATION VARIABLES
-
-The two configuration files F</etc/devscripts.conf> and
-F<~/.devscripts> are sourced by a shell in that order to set
-configuration variables.  Command line options can be used to override
-configuration file settings.  Environment variable settings are
-ignored for this purpose.  The currently recognised variables are:
-
-=over 4
-
-=item B<LICENSECHECK_VERBOSE>
-
-If this is set to I<yes>, then it is the same as the B<--verbose> command
-line parameter being used. The default is I<no>.
-
-=item B<LICENSECHECK_PARSELINES>
-
-If this is set to a positive number then the specified number of lines
-at the start of each file will be read whilst attempting to determine
-the license(s) in use.  This is equivalent to the B<--lines> command line
-option.
-
-=back
-
-=head1 LICENSE
-
-This code is copyright by Adam D. Barratt <I<adam at adam-barratt.org.uk>>,
-all rights reserved; based on a script of the same name from the KDE
-SDK, which is copyright by <I<dfaure at kde.org>>.
-This program comes with ABSOLUTELY NO WARRANTY.
-You are free to redistribute this code under the terms of the GNU
-General Public License, version 2 or later.
-
-=head1 AUTHOR
-
-Adam D. Barratt <adam at adam-barratt.org.uk>
-
-=cut
-
-# see http://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default/6163129#6163129
-use v5.14;
-use utf8;
-
-use strict;
-use autodie;
-use warnings;
-use warnings    qw< FATAL  utf8     >;
-
-use Getopt::Long qw(:config gnu_getopt);
-use File::Basename;
-use File::stat;
-use IO::File;
-use Fcntl qw/:seek/;
-
-binmode STDOUT, ':utf8';
-
-my $progname = basename($0);
-
-# From dpkg-source
-my $default_ignore_regex = qr!
-# Ignore general backup files
-~$|
-# Ignore emacs recovery files
-(?:^|/)\.#|
-# Ignore vi swap files
-(?:^|/)\..*\.swp$|
-# Ignore baz-style junk files or directories
-(?:^|/),,.*(?:$|/.*$)|
-# File-names that should be ignored (never directories)
-(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
-# File or directory names that should be ignored
-(?:^|/)(?:CVS|RCS|\.pc|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|
-\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
-!x;
-
-my $default_check_regex =
-    qr!
-    /[\w-]+$                      # executable scripts or README like file
-    |
-    \.(                          # search for file suffix
-        c(c|pp|xx)?              # c and c++
-       |h(h|pp|xx)?              # header files for c and c++
-       |S
-       |css|less                 # HTML css and similar
-       |f(77|90)?
-       |go
-       |groovy
-       |lisp
-       |scala
-       |clj
-       |p(l|m)?6?|t|xs|pod6?     # perl5 or perl6
-       |sh
-       |php
-       |py(|x)
-       |rb
-       |java
-       |js
-       |vala
-       |el
-       |sc(i|e)
-       |cs
-       |pas
-       |inc
-       |dtd|xsl
-       |mod
-       |m
-       |md|markdown
-       |tex
-       |mli?
-       |(c|l)?hs
-     )
-    $
-   !x;
-
-# also used to cleanup
-my $copyright_indicator_regex
-    = qr!
-         (?:copyright(?:-holders?)?	# The full word (or slightly more)
-            |copr\.	# Legally-valid abbreviation
-            |\xc2\xa9	# Unicode copyright sign encoded in iso8859
-	    |\x{00a9}	# Unicode character COPYRIGHT SIGN
-	    #|©		# Unicode character COPYRIGHT SIGN
-            |\(c\)	# Legally-null representation of sign
-         )
-        !lix;
-
-my $copyright_indicator_regex_with_capture = qr!$copyright_indicator_regex(?::\s*|\s+)(\S.*)$!lix;
-
-# avoid ditching things like <info at foo.com>
-my $copyright_disindicator_regex
-    = qr{
-	    \b(?:info(?:rmation)?(?!@)	# Discussing copyright information
-            |(notice|statement|claim|string)s?	# Discussing the notice
-            |is|in|to        # Part of a sentence
-            |(holder|owner)s?       # Part of a sentence
-            |ownership              # Part of a sentence
-            )\b
-        }ix;
-
-my $copyright_predisindicator_regex
-    = qr!(
-             ^[#]define\s+.*\(c\)    # #define foo(c) -- not copyright
-         )!ix;
-
-my $modified_conf_msg;
-
-my %OPT=(
-    verbose        => '',
-    lines          => '',
-    noconf         => '',
-    ignore         => '',
-    check          => '',
-    recursive      => 0,
-    copyright      => 0,
-    machine        => 0,
-    text           => 0,
-    skipped        => 0,
-    'deb-fmt'         => 0,
-);
-
-my $def_lines = 60;
-my $def_tail = 5000; # roughly 60 lines of 80 chars
-
-# Read configuration files and then command line
-# This is boilerplate
-
-if (@ARGV and $ARGV[0] =~ /^--no-?conf$/) {
-    $modified_conf_msg = "  (no configuration files read)";
-    shift;
-} else {
-    my @config_files = ('/etc/devscripts.conf', '~/.devscripts');
-    my %config_vars = (
-		       'LICENSECHECK_VERBOSE' => 'no',
-		       'LICENSECHECK_PARSELINES' => $def_lines,
-		      );
-    my %config_default = %config_vars;
-
-    my $shell_cmd;
-    # Set defaults
-    foreach my $var (keys %config_vars) {
-	$shell_cmd .= qq[$var="$config_vars{$var}";\n];
-    }
-    $shell_cmd .= 'for file in ' . join(" ", @config_files) . "; do\n";
-    $shell_cmd .= '[ -f $file ] && . $file; done;' . "\n";
-    # Read back values
-    foreach my $var (keys %config_vars) { $shell_cmd .= "echo \$$var;\n" }
-    my $shell_out = `/bin/bash -c '$shell_cmd'`;
-    @config_vars{keys %config_vars} = split /\n/, $shell_out, -1;
-
-    # Check validity
-    $config_vars{'LICENSECHECK_VERBOSE'} =~ /^(yes|no)$/
-	or $config_vars{'LICENSECHECK_VERBOSE'} = 'no';
-    $config_vars{'LICENSECHECK_PARSELINES'} =~ /^[1-9][0-9]*$/
-	or $config_vars{'LICENSECHECK_PARSELINES'} = $def_lines;
-
-    foreach my $var (sort keys %config_vars) {
-	if ($config_vars{$var} ne $config_default{$var}) {
-	    $modified_conf_msg .= "  $var=$config_vars{$var}\n";
-	}
-    }
-    $modified_conf_msg ||= "  (none)\n";
-    chomp $modified_conf_msg;
-
-    $OPT{'verbose'} = $config_vars{'LICENSECHECK_VERBOSE'} eq 'yes' ? 1 : 0;
-    $OPT{'lines'} = $config_vars{'LICENSECHECK_PARSELINES'};
-}
-
-GetOptions(\%OPT,
-           "help|h",
-           "check|c=s",
-           "copyright",
-	   "deb-fmt!",
-	   "encoding|e=s",
-           "ignore|i=s",
-           "lines|l=i",
-           "machine|m",
-           "noconf|no-conf",
-           "recursive|r",
-	   "skipped|s",
-	   "tail",
-	   "text|t",
-           "verbose!",
-           "version|v",
-) or die "Usage: $progname [options] filelist\nRun $progname --help for more details\n";
-
-$OPT{'lines'} = $def_lines if $OPT{'lines'} !~ /^[1-9][0-9]*$/;
-my $ignore_regex = length($OPT{ignore}) ? qr/$OPT{ignore}/ : $default_ignore_regex;
-
-my $check_regex = $default_check_regex;
-$check_regex = qr/$OPT{check}/ if length $OPT{check};
-
-if ($OPT{'noconf'}) {
-    fatal("--no-conf is only acceptable as the first command-line option!");
-}
-if ($OPT{'help'}) { help(); exit 0; }
-if ($OPT{'version'}) { version(); exit 0; }
-
-if ($OPT{text}) {
-    warn "$0 warning: option -text is deprecated\n"; # remove -text end 2015
-}
-
-die "Usage: $progname [options] filelist\nRun $progname --help for more details\n" unless @ARGV;
-
-$OPT{'lines'} = $def_lines if not defined $OPT{'lines'};
-
-my @files = ();
-my @find_args = ();
-my $files_count = @ARGV;
-
-push @find_args, qw(-maxdepth 1) unless $OPT{'recursive'};
-push @find_args, qw(-follow -type f -print);
-
-while (@ARGV) {
-    my $file = shift @ARGV;
-
-    if (-d $file) {
-	open my $FIND, '-|', 'find', $file, @find_args
-	    or die "$progname: couldn't exec find: $!\n";
-
-	while (my $found = <$FIND>) {
-	    chomp ($found);
-	    # Silently skip empty files or ignored files
-	    next if -z $found or $found =~ $ignore_regex;
-	    if ( not $check_regex or $found =~ $check_regex ) {
-		# Silently skip empty files or ignored files
-		push @files, $found ;
-	    }
-	    else {
-		warn "skipped file $found\n" if $OPT{skipped};
-	    }
-	}
-	close $FIND;
-    }
-    elsif ($file =~ $ignore_regex) {
-	# Silently skip ignored files
-	next;
-    }
-    elsif ( $files_count == 1 or not $check_regex or $file =~ $check_regex ) {
-	push @files, $file;
-    }
-    else {
-	warn "skipped file $file\n" if $OPT{skipped};
-    }
-}
-
-while (@files) {
-    my $file = shift @files;
-
-    my $enc = $OPT{encoding} ;
-
-    my ($license, $copyright) ;
-
-    my $ok = 0;
-    my @try = $enc ? ($enc, 'latin-1', undef) : (undef);
-
-    while (not $ok and @try) {
-	my $try_enc = shift @try;
-
-	eval { ($license, $copyright) = parse_file($file, $try_enc) ; };
-
-	if ($@ and $@ =~ /does not map to Unicode/) {
-	    my $str_enc = $enc // 'binary';
-	    my $next_enc = $try[0] // 'binary';
-	    print "file $file cannot be read with $str_enc encoding, will try $next_enc:\n$@"
-		if $OPT{'verbose'};
-	}
-	elsif ($@) {
-	    die $@;
-	}
-	else {
-	    last;
-	}
-    }
-
-    if ($OPT{'machine'}) {
-	print "$file\t$license";
-	print "\t" . ($copyright or "*No copyright*") if $OPT{'copyright'};
-	print "\n";
-    } else {
-	print "$file: ";
-	print "*No copyright* " unless $copyright;
-	print $license . "\n";
-	print "  [Copyright: " . $copyright . "]\n"
-	  if $copyright and $OPT{'copyright'};
-	print "\n" if $OPT{'copyright'};
-    }
-}
-
-sub parse_file {
-    my $file = shift;
-    my $enc = shift;
-    my $content = '';
-    my $copyright_match;
-    my $copyright = '';
-
-    my $st = stat $file;
-    my $mode = $enc ? "<:encoding($enc)" : '<';
-    # need to use "<" when encoding is unknown otherwise we break compatibility
-    my $fh = IO::File->new ($file ,$mode) or die "Unable to access $file: $!\n";
-
-    while ( my $line = $fh->getline ) {
-	last if ($fh->input_line_number > $OPT{'lines'});
-	$content .= $line;
-    }
-
-    my %copyrights = extract_copyright($content);
-
-    print qq(----- $file header -----\n$content----- end header -----\n\n)
-	if $OPT{'verbose'};
-
-    my $license = parselicense(clean_cruft_and_spaces(clean_comments($content)));
-    $copyright = join(" / ", reverse sort values %copyrights);
-
-    if ( not $copyright and $license eq 'UNKNOWN') {
-	my $position = $fh->tell; # See IO::Seekable
-	my $tail_size = $OPT{tail} // $def_tail;
-	my $jump = $st->size - $tail_size;
-	$jump = $position if $jump < $position;
-
-	my $tail ;
-	if ( $tail_size and $jump < $st->size) {
-	    $fh->seek($jump, SEEK_SET) ; # also IO::Seekable
-	    $tail .= join('',$fh->getlines);
-	}
-
-	print qq(----- $file tail -----\n$tail----- end tail -----\n\n)
-	    if $OPT{'verbose'};
-
-	%copyrights = extract_copyright($tail);
-	$license = parselicense(clean_cruft_and_spaces(clean_comments($tail)));
-	$copyright = join(" / ", reverse sort values %copyrights);
-    }
-
-    $fh->close;
-    return ($license, $copyright);
-}
-
-sub extract_copyright {
-    my $content = shift;
-    my @c = split /\n/, clean_comments($content);
-
-    my %copyrights;
-    my $lines_after_copyright_block = 0;
-
-    my $in_copyright_block = 0;
-    while (@c) {
-	my $line = shift @c ;
-	my $copyright_match = parse_copyright($line, \$in_copyright_block) ;
-	if ($copyright_match) {
-	    while (@c and $copyright_match =~ /\d[,.]?\s*$/) {
-		# looks like copyright end with a year, assume the owner is on next line(s)
-		$copyright_match .= ' '. shift @c;
-	    }
-	    $copyright_match =~ s/\s+/ /g;
-	    $copyright_match =~ s/\s*$//;
-	    $copyrights{lc("$copyright_match")} = "$copyright_match";
-        }
-	elsif (scalar keys %copyrights) {
-	    # skip remaining lines if a copyright blocks was found more than 5 lines ago.
-	    # so a copyright block may contain up to 5 blank lines, but no more
-	    last if $lines_after_copyright_block++ > 5;
-	}
-    }
-    return %copyrights;
-}
-
-sub parse_copyright {
-    my $data = shift ;
-    my $in_copyright_block_ref = shift;
-    my $copyright = '';
-    my $match;
-
-    if ( $data !~ $copyright_predisindicator_regex) {
-	#print "match against ->$data<-\n";
-        if ($data =~ $copyright_indicator_regex_with_capture) {
-            $match = $1;
-	    $$in_copyright_block_ref = 1;
-            # Ignore lines matching "see foo for copyright information" etc.
-            if ($match !~ $copyright_disindicator_regex) {
-		# De-cruft
-                $match =~ s/$copyright_indicator_regex//igx;
-                $match =~ s/^\s+//;
-		$match =~ s/\s*\bby\b\s*/ /;
-                $match =~ s/([,.])?\s*$//;
-                $match =~ s/\s{2,}/ /g;
-		$match =~ s/\\//g; # de-cruft nroff files
-                $match =~ s/\s*[*#]\s*$//;
-                $copyright = $match;
-            }
-        }
-	elsif ($$in_copyright_block_ref and $data =~ /^\d{2,}[,\s]+/) {
-	    # following lines beginning with a year are supposed to be
-	    # continued copyright blocks
-	    $copyright = $data;
-	}
-	else {
-	    $$in_copyright_block_ref = 0;
-	}
-    }
-
-    return $copyright;
-}
-
-sub clean_comments {
-    local $_ = shift or return q{};
-
-    # Remove generic comments: look for 4 or more lines beginning with
-    # regular comment pattern and trim it. Fall back to old algorithm
-    # if no such pattern found.
-    my @matches = m/^\s*((?:[^a-zA-Z0-9\s]{1,3}|\bREM\b))\s\w/mg;
-    if (@matches >= 4) {
-	my $comment_re = qr/\s*[\Q$matches[0]\E]{1,3}\s*/;
-	s/^$comment_re//mg;
-    }
-
-    # Remove Fortran comments
-    s/^[cC] //gm;
-
-    # Remove C / C++ comments
-    s#(\*/|/[/*])##g;
-
-    return $_;
-}
-
-sub clean_cruft_and_spaces {
-    local $_ = shift or return q{};
-
-    tr/\t\r\n/ /;
-
-    # this also removes quotes
-    tr% A-Za-z.,@;0-9\(\)/-%%cd;
-    tr/ //s;
-
-    return $_;
-}
-
-sub help {
-   print <<"EOF";
-Usage: $progname [options] filename [filename ...]
-Valid options are:
-   --help, -h             Display this message
-   --version, -v          Display version and copyright info
-   --no-conf, --noconf    Don't read devscripts config files; must be
-                          the first option given
-   --verbose              Display the header of each file before its
-                            license information
-   --skipped, -s          Show skipped files
-   --lines, -l            Specify how many lines of the file header
-                            should be parsed for license information
-                            (Default: $def_lines)
-   --tail                 Specify how many bytes to parse at end of file
-                            (Default: $def_tail)
-   --check, -c            Specify a pattern indicating which files should
-                             be checked
-                             (Default: '$default_check_regex')
-   --machine, -m          Display in a machine readable way (good for awk)
-   --recursive, -r        Add the contents of directories recursively
-   --copyright            Also display the file's copyright
-   --ignore, -i           Specify that files / directories matching the
-                            regular expression should be ignored when
-                            checking files
-                            (Default: '$default_ignore_regex')
-
-Default settings modified by devscripts configuration files:
-$modified_conf_msg
-EOF
-}
-
-sub version {
-    print <<"EOF";
-This is $progname, from the Debian devscripts package, version ###VERSION###
-Copyright (C) 2007, 2008 by Adam D. Barratt <adam\@adam-barratt.org.uk>; based
-on a script of the same name from the KDE SDK by <dfaure\@kde.org>.
-
-This program comes with ABSOLUTELY NO WARRANTY.
-You are free to redistribute this code under the terms of the
-GNU General Public License, version 2, or (at your option) any
-later version.
-EOF
-}
-
-sub parselicense {
-    my ($licensetext) = @_;
-
-    my $gplver = "";
-    my $extrainfo = "";
-    my $license = "";
-    my @spdx_gplver ;
-
-    # @spdx_license contains identifiers from https://spdx.org/licenses/
-    # it would be more efficient to store license info only in this
-    # array and then convert it to legacy formulation, but there are
-    # corner case (like extrainfo) that would not fit. So the old storage scheme
-    # is kept with the new (spdx/dep-5) scheme to keep backward compat.
-    my @spdx_license ;
-
-    my $spdx_extra;
-
-    my $gen_spdx = sub {
-	my @ret = @spdx_gplver ?  (map { "$_[0]-$_"; } @spdx_gplver) : ($_[0]) ;
-	push @ret, $spdx_extra if $spdx_extra;
-	return @ret;
-    } ;
-
-    if ($licensetext =~ /version ([^ ]+)(?: of the License)?,? or(?: \(at your option\))? version (\d(?:[.-]\d+)*)/) {
-	$gplver = " (v$1 or v$2)";
-	@spdx_gplver = ($1, $2 );
-    } elsif ($licensetext =~ /version ([^, ]+?)[.,]? (?:\(?only\)?.? )?(?:of the GNU (Affero )?(Lesser |Library )?General Public License )?(as )?published by the Free Software Foundation/i or
-	$licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public License (?:as )?published by the Free Software Foundation[;,] version ([^, ]+?)[.,]? /i) {
-
-	$gplver = " (v$1)";
-	@spdx_gplver = ($1);
-    } elsif ($licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public License\s*(?:[(),GPL]+)\s*version (\d+(?:\.\d+)?)[ \.]/i) {
-	$gplver = " (v$1)";
-	@spdx_gplver = ($1);
-    } elsif ($licensetext =~ /either version ([^ ]+)(?: of the License)?, or (?:\(at your option\) )?any later version/) {
-	$gplver = " (v$1 or later)";
-	@spdx_gplver = ($1.'+');
-    } elsif ($licensetext =~ /GPL\sas\spublished\sby\sthe\sFree\sSoftware\sFoundation,\sversion\s([\d.]+)/i ) {
-	$gplver = " (v$1)";
-	@spdx_gplver = ($1);
-    }
-
-
-    if ($licensetext =~ /(?:675 Mass Ave|59 Temple Place|51 Franklin Steet|02139|02111-1307)/i) {
-	$extrainfo = " (with incorrect FSF address)$extrainfo";
-    }
-
-    if ($licensetext =~ /permission (?:is (also granted|given))? to link (the code of )?this program with (any edition of )?(Qt|the Qt library)/i) {
-	$extrainfo = " (with Qt exception)$extrainfo";
-	$spdx_extra = 'with Qt exception';
-    }
-
-    # exclude blurb found in boost license text
-    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT ((?:HAND )?EDIT|delete this file|modify)|edit the original|Generated (automatically|by|from|data)|generated.*file)/i
-        and $licensetext !~  /unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor/) {
-	$license = "GENERATED FILE";
-	push @spdx_license, 'generated-file';
-    }
-
-    if ($licensetext =~ /(are made available|(is free software.? )?you can redistribute (it|them) and(?:\/|\s+)or modify (it|them)|is licensed) under the terms of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i) {
-	$license = "LGPL$gplver$extrainfo $license";
-	push @spdx_license, $gen_spdx->('LGPL');
-    }
-    # For Perl modules handled by Dist::Zilla
-    elsif ($licensetext =~ /this is free software,? licensed under:? (?:the )?(?:GNU (?:Library |Lesser )General Public License|LGPL),? version ([\d\.]+)/i) {
-	$license = "LGPL (v$1) $license";
-	push @spdx_license, "LGPL-$1";
-    }
-
-    if ($licensetext =~ /is free software.? you can redistribute (it|them) and(?:\/|\s+)or modify (it|them) under the terms of the (GNU Affero General Public License|AGPL)/i) {
-	$license = "AGPL$gplver$extrainfo $license";
-	push @spdx_license, $gen_spdx->('AGPL');
-    }
-
-    if ($licensetext =~ /(is free software.? )?you (can|may) redistribute (it|them) and(?:\/|\s+)or modify (it|them) under the terms of (?:version [^ ]+ (?:\(?only\)? )?of )?the GNU General Public License/i) {
-	$license = "GPL$gplver$extrainfo $license";
-	push @spdx_license, $gen_spdx->('GPL');
-    }
-
-    
-
-    if ($licensetext =~ /is distributed under the terms of the GNU General Public License,/
-	and length $gplver) {
-	$license = "GPL$gplver$extrainfo $license";
-	push @spdx_license, $gen_spdx->('GPL');
-    }
-
-    if ($licensetext =~ /(?:is|may be)\s(?:(?:distributed|used).*?terms|being\s+released).*?\b(L?GPL)\b/) {
-        my $v = $gplver || ' (unversioned/unknown version)';
-        $license = "$1$v $license";
-	push @spdx_license, $gen_spdx->($1);
-    }
-
-    if ($licensetext =~ /the rights to distribute and use this software as governed by the terms of the Lisp Lesser General Public License|\bLLGPL\b/ ) {
-        $license = "LLGPL $license";
-	push @spdx_license, 'LLGPL';
-    }
-
-    if ($licensetext =~ /This file is part of the .*Qt GUI Toolkit. This file may be distributed under the terms of the Q Public License as defined/) {
-	$license = "QPL (part of Qt) $license";
-    } elsif ($licensetext =~ /may (be distributed|redistribute it) under the terms of the Q Public License/) {
-	$license = "QPL $license";
-	push @spdx_license, 'QPL';
-    }
-
-    if ($licensetext =~ /opensource\.org\/licenses\/mit-license\.php/) {
-	$license = "MIT/X11 (BSD like) $license";
-	push @spdx_license, 'Expat';
-    } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and(\/or)? associated documentation files \(the (Software|Materials)\), to deal in the (Software|Materials)/) {
-	$license = "MIT/X11 (BSD like) $license";
-	push @spdx_license, 'Expat';
-    } elsif ($licensetext =~ /Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose/) {
-	$license = "MIT/X11 (BSD like) $license";
-	push @spdx_license, 'Expat';
-    }
-
-    if ($licensetext  =~ /Permission to use, copy, modify, and(\/or)? distribute this software for any purpose with or without fee is hereby granted, provided.*copyright notice.*permission notice.*all copies/) {
-	$license = "ISC $license";
-	push @spdx_license, 'ISC';
-    }
-
-    if ($licensetext =~ /THIS SOFTWARE IS PROVIDED .*AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY/) {
-	if ($licensetext =~ /All advertising materials mentioning features or use of this software must display the following acknowledge?ment.*This product includes software developed by/i) {
-	    $license = "BSD (4 clause) $license";
-	    push @spdx_license, 'BSD-4-Clause';
-	} elsif ($licensetext =~ /(The name(?:\(s\))? .*? may not|Neither the (names? .*?|authors?) nor the names of( (its|their|other|any))? contributors may) be used to endorse or promote products derived from this software/i) {
-	    $license = "BSD (3 clause) $license";
-	    push @spdx_license, 'BSD-3-Clause';
-	} elsif ($licensetext =~ /Redistributions in binary form must reproduce the above copyright notice/i) {
-	    $license = "BSD (2 clause) $license";
-	    push @spdx_license, 'BSD-2-Clause';
-	} else {
-	    $license = "BSD $license";
-	    push @spdx_license, 'BSD';
-	}
-    }
-    elsif ($licensetext =~ /licen[sc]ebsd(?:-(\d)-clause)?/i) {
-	if ($1) {
-	    $license = "BSD ($1 clause) $license";
-	    push @spdx_license, "BSD-$1-Clause";
-	 }
-	else {
-	    $license = "BSD $license";
-	    push @spdx_license, "BSD";
-	}
-    }
-
-    if ($licensetext =~ /Mozilla Public License,? (?:(?:Version|v\.)\s+)?(\d+(?:\.\d+)?)/) {
-	$license = "MPL (v$1) $license";
-	push @spdx_license, "MPL-$1";
-    }
-    elsif ($licensetext =~ /Mozilla Public License,? \((?:Version|v\.) (\d+(?:\.\d+)?)\)/) {
-        $license = "MPL (v$1) $license";
-	push @spdx_license, "MPL-$1";
-    }
-
-    # match when either:
-    # - the text *begins* with "The Artistic license v2.0" which is (hopefully) the actual artistic license v2.0 text.
-    # - a license grant is found. i.e something like "this is free software, licensed under the artistic license v2.0"
-   if ($licensetext =~ /(?:^\s*|(?:This is free software, licensed|Released|be used|use and modify this (?:module|software)) under (?:the terms of )?)[Tt]he Artistic License ([v\d.]*\d)/) {
-	$license = "Artistic (v$1) $license";
-	push @spdx_license, "Artistic-$1";
-    }
-
-    if ($licensetext =~ /is free software under the Artistic [Ll]icense/) {
-	$license = "Artistic $license";
-	push @spdx_license, 'Artistic';
-    }
-
-    if ($licensetext =~ /This program is free software; you can redistribute it and\/or modify it under the same terms as Perl itself/) {
-	$license = "Perl $license";
-	push @spdx_license, 'Artistic', 'GPL';
-    }
-
-    if ($licensetext =~ /under the Apache License, Version ([^ ]+)/) {
-	$license = "Apache (v$1) $license";
-	push @spdx_license, "Apache-$1";
-    }
-
-    if ($licensetext =~ /(THE BEER-WARE LICENSE)/i) {
-	$license = "Beerware $license";
-	push @spdx_license, 'Beerware';
-    }
-
-    if ($licensetext =~ /distributed under the terms of the FreeType project/i) {
-	$license = "FreeType $license"; # aka FTL see http://www.freetype.org/license.html
-	push @spdx_license, 'FTL';
-    }
-
-    if ($licensetext =~ /This source file is subject to version ([^ ]+) of the PHP license/) {
-	$license = "PHP (v$1) $license";
-	push @spdx_license, "PHP-$1";
-    }
-
-    if ($licensetext =~ /under the terms of the CeCILL-([^ ]+) /) {
-	$license = "CeCILL-$1 $license";
-	push @spdx_license, "CECILL-$1";
-    }
-    elsif ($licensetext =~ /under the terms of the CeCILL /) {
-	$license = "CeCILL $license";
-	push @spdx_license, 'CECILL';
-    }
-
-    if ($licensetext =~ /under the SGI Free Software License B/) {
-	$license = "SGI Free Software License B $license";
-	push @spdx_license, 'SGI-B';
-    }
-
-    if ($licensetext =~ /is in the public domain/i) {
-	$license = "Public domain $license";
-	push @spdx_license, 'public-domain'; # not listed by SPDX
-    }
-
-    if ($licensetext =~ /terms of the Common Development and Distribution License(, Version ([^(]+))? \(the License\)/) {
-	$license = "CDDL " . ($1 ? "(v$2) " : '') . $license;
-	push @spdx_license, 'CDDL' . ( $1 ? "-$2" : '');
-    }
-
-    if ($licensetext =~ /Microsoft Permissive License \(Ms-PL\)/) {
-        $license = "Ms-PL $license";
-	push @spdx_license, 'MS-PL';
-    }
-
-    if ($licensetext =~ /Licensed under the Academic Free License version ([\d.]+)/) {
-        $license = $1 ? "AFL-$1" : "AFL";
-	push @spdx_license, 'AFL' . ( $1 ? "-$1" : '');
-    }
-
-    if ($licensetext =~ /This program and the accompanying materials are made available under the terms of the Eclipse Public License v?([\d.]+)/) {
-        $license = $1 ? "EPL-$1" : "EPL";
-	push @spdx_license, 'EPL' . ( $1 ? "-$1" : '');
-    }
-
-    # quotes were removed by clean_comments function
-    if ($licensetext =~ /Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license \(the Software\)/ or
-	$licensetext =~ /Boost Software License([ ,-]+Version ([^ ]+)?(\.))/i) {
-	$license = "BSL " . ($1 ? "(v$2) " : '') . $license;
-	push @spdx_license, 'BSL' . ( $1 ? "-$2" : '');
-    }
-
-    if ($licensetext =~ /PYTHON SOFTWARE FOUNDATION LICENSE (VERSION ([^ ]+))/i) {
-	$license = "PSF " . ($1 ? "(v$2) " : '') . $license;
-	push @spdx_license, 'Python' . ( $1 ? "-$2" : '');
-    }
-
-    if ($licensetext =~ /The origin of this software must not be misrepresented.*Altered source versions must be plainly marked as such.*This notice may not be removed or altered from any source distribution/ or
-        $licensetext =~ /see copyright notice in zlib\.h/) {
-	$license = "zlib/libpng $license";
-	push @spdx_license, 'Zlib';
-    } elsif ($licensetext =~ /This code is released under the libpng license/) {
-        $license = "libpng $license";
-	push @spdx_license, 'Libpng';
-    }
-
-    if ($licensetext =~ /Do What The Fuck You Want To Public License, Version ([^, ]+)/i) {
-        $license = "WTFPL (v$1) $license";
-	push @spdx_license, "WTFPL-$1";
-    }
-
-    if ($licensetext =~ /Do what The Fuck You Want To Public License/i) {
-        $license = "WTFPL $license";
-	push @spdx_license, "WTFPL";
-    }
-
-    if ($licensetext =~ /(License WTFPL|Under (the|a) WTFPL)/i) {
-        $license = "WTFPL $license";
-	push @spdx_license, "WTFPL";
-    }
-
-    $license = "UNKNOWN" if (!length($license));
-    push @spdx_license, "UNKNOWN" unless @spdx_license;
-
-    # Remove trailing spaces.
-    $license =~ s/\s+$//;
-
-    return $OPT{'deb-fmt'} ? join(' or ', @spdx_license) : $license;
-}
-
-sub fatal {
-    my ($pack,$file,$line);
-    ($pack,$file,$line) = caller();
-    (my $msg = "$progname: fatal error at line $line:\n at _\n") =~ tr/\0//d;
-    $msg =~ s/\n\n$/\n/;
-    die $msg;
-}
diff --git a/test/Makefile b/test/Makefile
index 03d2c2c..e7b1a9d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -6,8 +6,6 @@ OUR_TESTS=						\
 	debchange					\
 	package_lifecycle			\
 	debdiff						\
-	licensecheck				\
-	licensecheck_SL				\
 	uscan						\
 	uscan_mangle				\
 	mk-origtargz				
diff --git a/test/licensecheck/academic.h b/test/licensecheck/academic.h
deleted file mode 100644
index 369330a..0000000
--- a/test/licensecheck/academic.h
+++ /dev/null
@@ -1,4 +0,0 @@
-/*
- Copyright 2004-2008 Paul R. Holser, Jr.  All rights reserved.
- Licensed under the Academic Free License version 3.0
- */
diff --git a/test/licensecheck/artistic-2-0-modules.pm b/test/licensecheck/artistic-2-0-modules.pm
deleted file mode 100644
index 39abb76..0000000
--- a/test/licensecheck/artistic-2-0-modules.pm
+++ /dev/null
@@ -1,239 +0,0 @@
-use SVG::Box;
-
-enum SVG::Plot::AxisPosition <Zero SmallestValue LargestValue>;
-
-unit class SVG::Plot;
-has $.height            = 300;
-has $.width             = 500;
-has $.fill-width        = 0.80;
-has $.label-font-size   = 12;
-has $.legend-font-size  = $!label-font-size;
-
-has @.legends is rw;
-has @.values  is rw;
-has @.x       is rw;    # only used in 'xy' variants
-has @.labels  is rw = @!values[0].keys;
-has @.links   is rw;
-
-has $.plot-width        = $!width  * 0.80;
-has $.plot-height       = $!height * (@!legends ?? 0.5 !! 0.65);
-
-has $.title             = '';
-
-has &.x-tick-step       = -> $max {
-    10 ** $max.log10.floor  / 2
-}
-
-has &.y-tick-step       = -> $max {
-    10 ** $max.log10.floor  / 2
-}
-
-has $.max-x-labels      = $!plot-width / (1.5 * $!label-font-size);
-
-has $.label-spacing     = ($!height - $!plot-height) / 20;
-
-has @.colors = <#3333ff #ffdd66 #aa2222 #228844 #eebb00 #8822bb>;
-
-has $.min-y-axis        = Inf;
-
-multi method plot(:$full = True, :$stacked-bars!) {
-
-    my $label-skip = ceiling(@.values[0] / $.max-x-labels);
-    my $max_x      = @.values[0].elems;
-
-    # maximum value of the sum over each column
-    my $max_y      =  [max] @.values[0].keys.map: {
-        [+] @.values.map: -> $a { $a[$_] }
-    };
-    my $datasets   = + at .values;
-
-    my $step_x     = $.plot-width  / $max_x;
-    my $step_y     = $.plot-height / $max_y;
-
-    my @svg_d = gather {
-        my $bar-width = $.fill-width * $step_x;
-        for flat @.values[0].keys Z @.labels -> $k, $l {
-            my $y-offset  = 0;
-            for ^$datasets -> $d {
-                my $v = @.values[$d][$k];
-                my $p = 'rect' => [
-                    :y(-$v * $step_y - $y-offset),
-                    :x($k * $step_x),
-                    :width($bar-width),
-                    :height($v * $step_y),
-                    :style("fill:{ @.colors[$d % *] }; stroke: none"),
-                ];
-                $y-offset += $v * $step_y;
-                take |$.linkify($k, $p);
-            }
-        }
-
-        $.plot-x-labels(:$step_x, :$label-skip);
-        $.y-ticks(0, $max_y, $step_y);
-    }
-
-    my $svg = $.apply-standard-transform(
-        @svg_d,
-        @.eyecandy(),
-    );
-
-    @.wrap-in-svg-header-if-necessary($svg, :wrap($full));
-}
-
-# snip...
-
-=begin Pod
-
-=head1 NAME
-
-SVG::Plot - simple SVG bar charts
-
-=head1 VERSION
-
-$very_early
-
-=head1 SYNOPSIS
-
-    use SVG;
-    use SVG::Plot;
-
-    my @d1 = (0..100).map: { sin($_ / 10.0) };
-    my @d2 = (0..100).map: { cos($_ / 10.0) };
-    say SVG.serialize:
-        SVG::Plot.new(
-                width  => 400,
-                height => 250,
-                values => ([@d1], [@d2]),
-                title  => 'sin(x/10), cos(x/10)',
-        ).plot(:lines);
-
-
-=head1 DESCRIPTION
-
-SVG::Plot turns a set of data points (and optionally labels) into a data
-structure which Carl Mäsak's module L<SVG> serializes into SVG, and displays a
-bar chart of the data.
-
-See L<http://perlgeek.de/blog-en/perl-6/svg-adventures.html> for the initial
-announcement and future plans.
-
-Note that the module itself does not depend on SVG.pm, only the examples (and
-maybe in future the tests).
-
-=head1 A WORD OF WARNING
-
-Please note that the interface of this module is still in flux, and might
-change without further notice. If you actually use it, send the author an
-email to inform him, maybe he'll try to keep the interface backwards
-compatible, or notify you on incompatible changes.
-
-=head1 METHODS
-
-=head2 new(*%options)
-Constructs a L<SVG::Plot> object. You can set various attributes as options,
-see their documentation below. No attribute is mandatory.
-
-=head2 multi method plot(:$type!, :$full = True)
-If the argument C<$!full> is provided, the returned data structure contains
-only the body of the SVG, not the C<< <svg xmlns=...> >> header.
-
-Each multi method renders one type of chart, and has a mandatory named
-parameter with the name of the type. Currently available are C<bars>,
-C<stacked-bars>, C<lines> and C<points>.
-
-=head1 Attributes
-
-The following attributes can be set with the C<new> constructor, and can be
-queried later on (those marked with C<is rw> can also be set later on).
-
-=head2 @.values is rw
-The values to be plotted
-
-=head2 @.labels is rw
-The labels printed below the bars. Note that this must be either left empty
-(in which case C<@.values.keys> is used as a default), or of the same length
-as C<@.values>. To suppress printing of labels just set them all to the empty
-string, C<$svg.labels = ('' xx $svg.values.elems)>.
-
-=head2 @.links is rw
-If some values of @.links are set to defined values, the corresponding bars
-and labels will be turned into links
-
-=head2 $.width
-=head2 $.height
-
-The overall size of the image (what is called the I<canvas> in SVG jargon).
-SVG::Plot tries not to draw outside the canvas.
-
-=head2 $.plot-width
-=head2 $.plot-height
-
-The size of the area to which the chart is plotted (the rest is taken up by
-ticks, labels and in future probably captions). The behaviour is undefined if
-C<< $.plot-width < $.width >> or C<< $.plot-height >>.
-
-Note that if you chose C<$.plot-width> or C<$.plot-height> too big in
-comparison to C<$.width> and C<$.height>, label texts and ticks might
-exceed the total size, and be either clipped to or drawn outside the canvas,
-depending on your SVG renderer.
-
-=head2 $.fill-width
-(Might be renamed to a more meaning name in future) For each bar in the bar
-chart a certain width is allocated, but only a ratio of C<$.fill-width>  is
-actually filled with a bar. Set to value between 0 and 1 to get spaces between
-your bars, or to 1 if you don't  want spaces.
-
-=head2 $.label-font-size
-Font size for the axis labels
-
-=head2 &.y-tick-step
-Closure which computes the step size in which ticks and labels on the y axis
-are drawn. It receives the maximal C<y> value as a single positional argument.
-
-=head2 &.x-tick-step
-Closure which computes the step size in which ticks and labels on the x axis
-are drawn. It receives the maximal C<x> value as a single positional argument.
-
-=head2 $.max-x-labels
-Maximal number of plotted labels in C<x> direction. If you experience
-overlapping labels you might set this to a smaller value. The default is
-dependent on C<$.plot-width> and C<$.label-font-size>.
-
-=head2 $.label-spacing
-
-Distance between I<x> axis and labels. Also affects width of I<y> ticks and
-distance of labels and I<y> ticks.
-
-=head2 $.min-y-axis
-
-By default the C<y> axis is scaled between the minimum and maximum y values.
-Set this if you want the C<y> axis to scale off of a different lower bound.
-Only has an effect if the C<$.min-y-axis> value is less then the minimum C<y>
-value.
-
-=head1 LICENSE AND COPYRIGHT
-
-Copyright (C) 2009 by Moritz Lenz and the SVG::Plot contributors (see file
-F<AUTHORS>), all rights reserved.
-
-You may distribute, use and modify this module under the terms of the Artistic
-License 2.0 as published by The Perl Foundation. See the F<LICENSE> file for
-details.
-
-The example code in the F<examples> directory and the examples from the
-documentation can be used, modified and distributed freely without any
-restrictions (think "public domain", except that by German law the author
-can't place things into the public domain).
-
-=head1 WARRANTY EXCLUSION
-
-This software is provided as-is, in the hope that it is useful to somebody.
-Not fitness for a particular purpose or any kind of guarantuee of
-functionality is implied.
-
-No responsibilities are taken by author to the extend allowed by applicable
-law.
-
-=end Pod
-
-# vim: ft=perl6
diff --git a/test/licensecheck/artistic-2-0.txt b/test/licensecheck/artistic-2-0.txt
deleted file mode 100644
index f645025..0000000
--- a/test/licensecheck/artistic-2-0.txt
+++ /dev/null
@@ -1,206 +0,0 @@
-This software is Copyright (c) 2000 by Testophilus Testownik <tester at testity.org>.
-
-This is free software, licensed under:
-
-  The Artistic License 2.0 (GPL Compatible)
-		       The Artistic License 2.0
-
-	    Copyright (c) 2000-2006, The Perl Foundation.
-
-     Everyone is permitted to copy and distribute verbatim copies
-      of this license document, but changing it is not allowed.
-
-Preamble
-
-This license establishes the terms under which a given free software
-Package may be copied, modified, distributed, and/or redistributed.
-The intent is that the Copyright Holder maintains some artistic
-control over the development of that Package while still keeping the
-Package available as open source and free software.
-
-You are always permitted to make arrangements wholly outside of this
-license directly with the Copyright Holder of a given Package.  If the
-terms of this license do not permit the full use that you propose to
-make of the Package, you should contact the Copyright Holder and seek
-a different licensing arrangement. 
-
-Definitions
-
-    "Copyright Holder" means the individual(s) or organization(s)
-    named in the copyright notice for the entire Package.
-
-    "Contributor" means any party that has contributed code or other
-    material to the Package, in accordance with the Copyright Holder's
-    procedures.
-
-    "You" and "your" means any person who would like to copy,
-    distribute, or modify the Package.
-
-    "Package" means the collection of files distributed by the
-    Copyright Holder, and derivatives of that collection and/or of
-    those files. A given Package may consist of either the Standard
-    Version, or a Modified Version.
-
-    "Distribute" means providing a copy of the Package or making it
-    accessible to anyone else, or in the case of a company or
-    organization, to others outside of your company or organization.
-
-    "Distributor Fee" means any fee that you charge for Distributing
-    this Package or providing support for this Package to another
-    party.  It does not mean licensing fees.
-
-    "Standard Version" refers to the Package if it has not been
-    modified, or has been modified only in ways explicitly requested
-    by the Copyright Holder.
-
-    "Modified Version" means the Package, if it has been changed, and
-    such changes were not explicitly requested by the Copyright
-    Holder. 
-
-    "Original License" means this Artistic License as Distributed with
-    the Standard Version of the Package, in its current version or as
-    it may be modified by The Perl Foundation in the future.
-
-    "Source" form means the source code, documentation source, and
-    configuration files for the Package.
-
-    "Compiled" form means the compiled bytecode, object code, binary,
-    or any other form resulting from mechanical transformation or
-    translation of the Source form.
-
-
-Permission for Use and Modification Without Distribution
-
-(1)  You are permitted to use the Standard Version and create and use
-Modified Versions for any purpose without restriction, provided that
-you do not Distribute the Modified Version.
-
-
-Permissions for Redistribution of the Standard Version
-
-(2)  You may Distribute verbatim copies of the Source form of the
-Standard Version of this Package in any medium without restriction,
-either gratis or for a Distributor Fee, provided that you duplicate
-all of the original copyright notices and associated disclaimers.  At
-your discretion, such verbatim copies may or may not include a
-Compiled form of the Package.
-
-(3)  You may apply any bug fixes, portability changes, and other
-modifications made available from the Copyright Holder.  The resulting
-Package will still be considered the Standard Version, and as such
-will be subject to the Original License.
-
-
-Distribution of Modified Versions of the Package as Source 
-
-(4)  You may Distribute your Modified Version as Source (either gratis
-or for a Distributor Fee, and with or without a Compiled form of the
-Modified Version) provided that you clearly document how it differs
-from the Standard Version, including, but not limited to, documenting
-any non-standard features, executables, or modules, and provided that
-you do at least ONE of the following:
-
-    (a)  make the Modified Version available to the Copyright Holder
-    of the Standard Version, under the Original License, so that the
-    Copyright Holder may include your modifications in the Standard
-    Version.
-
-    (b)  ensure that installation of your Modified Version does not
-    prevent the user installing or running the Standard Version. In
-    addition, the Modified Version must bear a name that is different
-    from the name of the Standard Version.
-
-    (c)  allow anyone who receives a copy of the Modified Version to
-    make the Source form of the Modified Version available to others
-    under
-		
-	(i)  the Original License or
-
-	(ii)  a license that permits the licensee to freely copy,
-	modify and redistribute the Modified Version using the same
-	licensing terms that apply to the copy that the licensee
-	received, and requires that the Source form of the Modified
-	Version, and of any works derived from it, be made freely
-	available in that license fees are prohibited but Distributor
-	Fees are allowed.
-
-
-Distribution of Compiled Forms of the Standard Version 
-or Modified Versions without the Source
-
-(5)  You may Distribute Compiled forms of the Standard Version without
-the Source, provided that you include complete instructions on how to
-get the Source of the Standard Version.  Such instructions must be
-valid at the time of your distribution.  If these instructions, at any
-time while you are carrying out such distribution, become invalid, you
-must provide new instructions on demand or cease further distribution.
-If you provide valid instructions or cease distribution within thirty
-days after you become aware that the instructions are invalid, then
-you do not forfeit any of your rights under this license.
-
-(6)  You may Distribute a Modified Version in Compiled form without
-the Source, provided that you comply with Section 4 with respect to
-the Source of the Modified Version.
-
-
-Aggregating or Linking the Package 
-
-(7)  You may aggregate the Package (either the Standard Version or
-Modified Version) with other packages and Distribute the resulting
-aggregation provided that you do not charge a licensing fee for the
-Package.  Distributor Fees are permitted, and licensing fees for other
-components in the aggregation are permitted. The terms of this license
-apply to the use and Distribution of the Standard or Modified Versions
-as included in the aggregation.
-
-(8) You are permitted to link Modified and Standard Versions with
-other works, to embed the Package in a larger work of your own, or to
-build stand-alone binary or bytecode versions of applications that
-include the Package, and Distribute the result without restriction,
-provided the result does not expose a direct interface to the Package.
-
-
-Items That are Not Considered Part of a Modified Version 
-
-(9) Works (including, but not limited to, modules and scripts) that
-merely extend or make use of the Package, do not, by themselves, cause
-the Package to be a Modified Version.  In addition, such works are not
-considered parts of the Package itself, and are not subject to the
-terms of this license.
-
-
-General Provisions
-
-(10)  Any use, modification, and distribution of the Standard or
-Modified Versions is governed by this Artistic License. By using,
-modifying or distributing the Package, you accept this license. Do not
-use, modify, or distribute the Package, if you do not accept this
-license.
-
-(11)  If your Modified Version has been derived from a Modified
-Version made by someone other than you, you are nevertheless required
-to ensure that your Modified Version complies with the requirements of
-this license.
-
-(12)  This license does not grant you the right to use any trademark,
-service mark, tradename, or logo of the Copyright Holder.
-
-(13)  This license includes the non-exclusive, worldwide,
-free-of-charge patent license to make, have made, use, offer to sell,
-sell, import and otherwise transfer the Package with respect to any
-patent claims licensable by the Copyright Holder that are necessarily
-infringed by the Package. If you institute patent litigation
-(including a cross-claim or counterclaim) against any party alleging
-that the Package constitutes direct or contributory patent
-infringement, then this Artistic License to you shall terminate on the
-date that such litigation is filed.
-
-(14)  Disclaimer of Warranty:
-THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
-NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
-LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/test/licensecheck/beerware.cpp b/test/licensecheck/beerware.cpp
deleted file mode 100644
index 7484e63..0000000
--- a/test/licensecheck/beerware.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * Copyright (c) 2012 Devscripts developers
- *
- * "THE BEER-WARE LICENSE" (Revision 42):
- * Benjamin Drung wrote this file. As long as you retain this notice you
- * can do whatever you want with this stuff. If we meet some day, and you think
- * this stuff is worth it, you can buy me a beer in return.
- */
diff --git a/test/licensecheck/boost.h b/test/licensecheck/boost.h
deleted file mode 100644
index 82b13f5..0000000
--- a/test/licensecheck/boost.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2006 Nemanja Trifunovic
-
-/*
-Permission is hereby granted, free of charge, to any person or organization
-obtaining a copy of the software and accompanying documentation covered by
-this license (the "Software") to use, reproduce, display, distribute,
-execute, and transmit the Software, and to prepare derivative works of the
-Software, and to permit third-parties to whom the Software is furnished to
-do so, all subject to the following:
-
-The copyright notices in the Software and this entire statement, including
-the above license grant, this restriction and the following disclaimer,
-must be included in all copies of the Software, in whole or in part, and
-all derivative works of the Software, unless such copies or derivative
-works are solely in the form of machine-executable object code generated by
-a source language processor.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
-SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
-FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.
-*/
-
-
-#ifndef UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
-#define UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
-
-#include "utf8/checked.h"
-#include "utf8/unchecked.h"
-
-#endif // header guard
diff --git a/test/licensecheck/bsd-1-clause-1.c b/test/licensecheck/bsd-1-clause-1.c
deleted file mode 100644
index 8949c28..0000000
--- a/test/licensecheck/bsd-1-clause-1.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 1995, 1999
- *      Berkeley Software Design, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * THIS SOFTWARE IS PROVIDED BY Berkeley Software Design, Inc. ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL Berkeley Software Design, Inc. BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *      BSDI ifaddrs.h,v 2.5 2000/02/23 14:51:59 dab Exp
- */
diff --git a/test/licensecheck/bsd-3-clause-authorsany.c b/test/licensecheck/bsd-3-clause-authorsany.c
deleted file mode 100644
index dc8fd65..0000000
--- a/test/licensecheck/bsd-3-clause-authorsany.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-Copyright (c) 2013, Devscripts developers
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-    * Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFI [...]
-*/
diff --git a/test/licensecheck/bsd-3-clause.cpp b/test/licensecheck/bsd-3-clause.cpp
deleted file mode 100644
index 25268eb..0000000
--- a/test/licensecheck/bsd-3-clause.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright (c) 2012, Devscripts developers
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *     * Redistributions of source code must retain the above copyright
- *       notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above copyright
- *       notice, this list of conditions and the following disclaimer in the
- *       documentation and/or other materials provided with the distribution.
- *     * Neither the name of the devscripts developers nor the
- *       names of other contributors may be used to endorse or promote products
- *       derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY ABISOURCE CORPORATION B.V. AND OTHER
- * CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ABISOURCE
- * CORPORATION B.V OR OTHER CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
- * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
diff --git a/test/licensecheck/bsd-regents.c b/test/licensecheck/bsd-regents.c
deleted file mode 100644
index 931ea6a..0000000
--- a/test/licensecheck/bsd-regents.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*      $NetBSD: getopt.c,v 1.26 2003/08/07 16:43:40 agc Exp $  */
-
-/*
- * Copyright (c) 1987, 1993, 1994
- *      The Regents of the University of California.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
diff --git a/test/licensecheck/bsd.f b/test/licensecheck/bsd.f
deleted file mode 100644
index 87f372f..0000000
--- a/test/licensecheck/bsd.f
+++ /dev/null
@@ -1,25 +0,0 @@
-c Copyright (c) 2012, Devscripts developers
-c
-c Redistribution and use in source and binary forms, with or without
-c modification, are permitted provided that the following conditions are
-c met:
-c
-c   - Redistributions of source code must retain the above copyright
-c     notice, this list of conditions and the following disclaimer.
-c
-c   - Redistributions in binary form must reproduce the above copyright
-c     notice, this list of conditions and the following disclaimer in the
-c     documentation and/or other materials provided with the
-c     distribution.
-c
-c THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
-c IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-c TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-c PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-c HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-c SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-c LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-c DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-c THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-c (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-c OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/test/licensecheck/bug-559429 b/test/licensecheck/bug-559429
deleted file mode 100644
index 0ba7580..0000000
--- a/test/licensecheck/bug-559429
+++ /dev/null
@@ -1,10 +0,0 @@
-#    Copyright (c) 2012 Devscripts developers
-#
-#    This program is free software; you can redistribute it and or
-#    modify it under the terms of version 2 of the GNU General Public
-#    License as published by the Free Software Foundation.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
diff --git a/test/licensecheck/cddl.h b/test/licensecheck/cddl.h
deleted file mode 100644
index 6be450f..0000000
--- a/test/licensecheck/cddl.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* CDDL HEADER START
-*
-* The contents of this file are subject to the terms of the
-* Common Development and Distribution License (the "License").
-* You may not use this file except in compliance with the License.
-*
-* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-* or http://www.opensolaris.org/os/licensing.
-* See the License for the specific language governing permissions
-* and limitations under the License.
-*
-* When distributing Covered Code, include this CDDL HEADER in each
-* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-* If applicable, add the following below this CDDL HEADER, with the
-* fields enclosed by brackets "[]" replaced with your own identifying
-* information: Portions Copyright [yyyy] [name of copyright owner]
-*
-* CDDL HEADER END
-*/
-/*
-* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-* Use is subject to license terms.
-*/
-
-/* For #723723 */
diff --git a/test/licensecheck/comments-detection.h b/test/licensecheck/comments-detection.h
deleted file mode 100644
index 2d3abd5..0000000
--- a/test/licensecheck/comments-detection.h
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2013 Devscripts developers.
-// All rights reserved.
-//
-// You can redistribute it and/or modify it under the terms of the GNU
-// General Public License as published by the Free Software Foundation,
-// either version 3 of the License, or (at your option) any later version.
-//
-// Licensees holding a valid commercial license may use this file in
-// accordance with the commercial license agreement provided with the software.
-//
-// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-int main() {
-    int return_value = 42
-        / 2
-        / 3;
-    return return_value;
-}
diff --git a/test/licensecheck/comments-detection.txt b/test/licensecheck/comments-detection.txt
deleted file mode 100644
index bdc0155..0000000
--- a/test/licensecheck/comments-detection.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-# kitchen is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-
-.. seealso
diff --git a/test/licensecheck/copr-iso8859.h b/test/licensecheck/copr-iso8859.h
deleted file mode 100644
index 09c9a5a..0000000
--- a/test/licensecheck/copr-iso8859.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * This file
- * Copyright (C) 2011 Heinrich M�ller <henmull at src.gnome.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
diff --git a/test/licensecheck/copr-utf8.h b/test/licensecheck/copr-utf8.h
deleted file mode 100644
index fb9128c..0000000
--- a/test/licensecheck/copr-utf8.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- *   superduper - main.h                                                       *
- *   Copyright (C) 2001-2010  Paul 'bar' Stevénsön                             *
- *   Copyright (C) 2004-2015  Oliva 'f00' Oberto                               *
- *                                                                             *
- *   This program is free software; you can redistribute it and/or modify      *
- *   it under the terms of the GNU General Public License as published by      *
- *   the Free Software Foundation; either version 2 of the License, or         *
- *   (at your option) any later version.                                       *
- *                                                                             *
- *   This program is distributed in the hope that it will be useful,           *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of            *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
- *   GNU General Public License for more details.                              *
- *                                                                             *
- *   You should have received a copy of the GNU General Public License along   *
- *   with this program; if not, write to the Free Software Foundation, Inc.,   *
- *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.               *
- *                                                                             *
- ******************************************************************************/
diff --git a/test/licensecheck/dual.c b/test/licensecheck/dual.c
deleted file mode 100644
index 39df96b..0000000
--- a/test/licensecheck/dual.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*************************************************************************
- * Copyright 2012 Devscripts developers
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 3 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/.
- *
- * This file may incorporate work that is in the public domain and/or
- * covered under the following copyright and permission notice:
- *
- *   Written by devscripts developers and released to the public domain,
- *   as explained at http://creativecommons.org/publicdomain/zero/1.0/
- ************************************************************************/
diff --git a/test/licensecheck/duplicated-copyright.rb b/test/licensecheck/duplicated-copyright.rb
deleted file mode 100644
index b7fef8a..0000000
--- a/test/licensecheck/duplicated-copyright.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# -------------------------------------------------------------------------- #
-# Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs        #
-#                                                                            #
-# Licensed under the Apache License, Version 2.0 (the "License"); you may    #
-# not use this file except in compliance with the License. You may obtain    #
-# a copy of the License at                                                   #
-#                                                                            #
-# http://www.apache.org/licenses/LICENSE-2.0                                 #
-#                                                                            #
-# Unless required by applicable law or agreed to in writing, software        #
-# distributed under the License is distributed on an "AS IS" BASIS,          #
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
-# See the License for the specific language governing permissions and        #
-# limitations under the License.                                             #
-#--------------------------------------------------------------------------- #
-
-require 'cli_helper'
-
-begin
-    require 'opennebula'
-rescue Exception => e
-    puts "Error: "+e.message.to_s
-    exit(-1)
-end
-
-include OpenNebula
-
-module OpenNebulaHelper
-    ONE_VERSION=<<-EOT
-OpenNebula #{OpenNebula::VERSION}
-Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may
-not use this file except in compliance with the License. You may obtain
-a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
-EOT
-
-    if ONE_LOCATION
-        TABLE_CONF_PATH=ONE_LOCATION+"/etc/cli"
-    else
-        TABLE_CONF_PATH="/etc/one/cli"
-    end
-
diff --git a/test/licensecheck/epl.h b/test/licensecheck/epl.h
deleted file mode 100644
index c8ef293..0000000
--- a/test/licensecheck/epl.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     IBM Corporation - initial API and implementation
-
-*******************************************************************************/
diff --git a/test/licensecheck/false-positives b/test/licensecheck/false-positives
deleted file mode 100644
index 1de5373..0000000
--- a/test/licensecheck/false-positives
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2013 Devscripts developers
- *
- * Permission to use, copy, modify, distribute, and sell this software and 
- * its documentation for any purpose is hereby granted without fee, provided
- * that (i) the above copyright notices and this permission notice appear in
- * ...
- * 3. Neither the name of the copyright holder nor the names of contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- * ...
- * [The next bit comes from freeswitch/libs/apr/poll/unix/port.c:]
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * ...
- * [this from freeswitch/libs/apr-util/include/apr_md5.h]
- * The RSA copyright statement and Licence for that original material is
- * included below. This is followed by the Apache copyright statement and
- * ...
- * [from freeswitch/libs/libzrtp/include/zrtp_legal.h and .../libzrtp/third_party/bnlib/legal.h]
- * We want the copyright string accessable to the unix strings command in
- * We want the copyright string to be accessable to the unix strings command 
- * [and .../libs/libwebsockets/win32port/zlib/deflate.c]
-     copyright string in the executable of your product.
- * [from .../libs/sofia-sip/libsofia-sip-ua/su/su_md5.c ]
- * 1993, no copyright is claimed. This code is in the public domain; do with
- * copyright in any changes I have made; this code remains in the
- * [from most of sqlite]
-** The author disclaims copyright to this source code.  In place of
- */
-
-# from freeswitch/libs/sofia-sip/libsofia-sip-ua/msg/msg_date.c
-#define is_digit(c) ((c) >= '0' && (c) <= '9')
diff --git a/test/licensecheck/freetype.c b/test/licensecheck/freetype.c
deleted file mode 100644
index 19208b1..0000000
--- a/test/licensecheck/freetype.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/***************************************************************************/
-/*                                                                         */
-/*  fnterrs.h                                                              */
-/*                                                                         */
-/*    Win FNT/FON error codes (specification only).                        */
-/*                                                                         */
-/*  Copyright 2001, 2012 by                                                */
-/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
-/*                                                                         */
-/*  This file is part of the FreeType project, and may only be used,       */
-/*  modified, and distributed under the terms of the FreeType project      */
-/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
-/*  this file you indicate that you have read the license and              */
-/*  understand and accept it fully.                                        */
-/*                                                                         */
-/***************************************************************************/
diff --git a/test/licensecheck/gpl-1 b/test/licensecheck/gpl-1
deleted file mode 100644
index 8ce8c4a..0000000
--- a/test/licensecheck/gpl-1
+++ /dev/null
@@ -1,15 +0,0 @@
-    Copyright (c) 2012 Devscripts developers
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 1, or (at your option)
-    any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
diff --git a/test/licensecheck/gpl-2 b/test/licensecheck/gpl-2
deleted file mode 100644
index 20c48a3..0000000
--- a/test/licensecheck/gpl-2
+++ /dev/null
@@ -1,10 +0,0 @@
-#    Copyright (c) 2012 Devscripts developers
-#
-#    This program is free software; you can redistribute it and/or
-#    modify it under the terms of version 2 of the GNU General Public
-#    License as published by the Free Software Foundation.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
diff --git a/test/licensecheck/gpl-2+ b/test/licensecheck/gpl-2+
deleted file mode 100644
index 57fbd48..0000000
--- a/test/licensecheck/gpl-2+
+++ /dev/null
@@ -1,14 +0,0 @@
-    Copyright (c) 2012 Devscripts developers
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 2 of the License, or
-    (at your option) any later version.
-
-    This package is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/test/licensecheck/gpl-2+.scm b/test/licensecheck/gpl-2+.scm
deleted file mode 100644
index d2a10f3..0000000
--- a/test/licensecheck/gpl-2+.scm
+++ /dev/null
@@ -1,14 +0,0 @@
-; Copyright (c) 2012 Devscripts developers
-;
-; This program is free software: you can redistribute it and/or modify
-; it under the terms of the GNU General Public License as published by
-; the Free Software Foundation, either version 2 of the License, or
-; (at your option) any later version.
-;
-; This package is distributed in the hope that it will be useful,
-; but WITHOUT ANY WARRANTY; without even the implied warranty of
-; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-; GNU General Public License for more details.
-;
-; You should have received a copy of the GNU General Public License
-; along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/test/licensecheck/gpl-2-comma.sh b/test/licensecheck/gpl-2-comma.sh
deleted file mode 100644
index c1dd41a..0000000
--- a/test/licensecheck/gpl-2-comma.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright (C) 2012 Devscripts developers
-#
-# This program is free software. you can redistribute it and/or modify
-# it under the terms of the GNU General Public License, version 2, as
-# published by the Free Software Foundation.
diff --git a/test/licensecheck/gpl-2-incorrect-address b/test/licensecheck/gpl-2-incorrect-address
deleted file mode 100644
index 84cf0c4..0000000
--- a/test/licensecheck/gpl-2-incorrect-address
+++ /dev/null
@@ -1,16 +0,0 @@
- Copyright (c) 2012 Devscripts developers
- .
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2
- as published by the Free Software Foundation.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
- .
- The complete text of the GNU General Public License 2
- can be found in "/usr/share/common-licenses/GPL-2".
- .
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
diff --git a/test/licensecheck/gpl-3+ b/test/licensecheck/gpl-3+
deleted file mode 100644
index 2a3196b..0000000
--- a/test/licensecheck/gpl-3+
+++ /dev/null
@@ -1,11 +0,0 @@
- Copyright (c) 2012 Devscripts developers
- .
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
diff --git a/test/licensecheck/gpl-3+-with-rem-comment.xml b/test/licensecheck/gpl-3+-with-rem-comment.xml
deleted file mode 100644
index ad27b2f..0000000
--- a/test/licensecheck/gpl-3+-with-rem-comment.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
-<script:module xmlns:script="http://openoffice.org/2000/script" script:name="AktenAnlMod1" script:language="StarBasic">REM                        *****  BASIC  *****
-REM                           ***** Canzeley *****
-REM              Copyright (C) 2008, 2009 Dr. Michael Stehmann
-REM                  info at rechtsanwalt-stehmann.de
-REM This program is free software: you can redistribute it and/or modify it
-REM under the terms of the GNU General Public License as published by the
-REM Free Software Foundation, either version 3 of the License, or any later version.
-REM This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-REM without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-REM See the GNU General Public License for more details.
-REM You should have received a copy of the GNU General Public License along with this program.
-REM If not, see <http://www.gnu.org/licenses/>.
-REM                      *** Version 0.2.0 ***
-
-REM **** Kanzleiprogramm - AktenAnlMod1 ****
-
diff --git a/test/licensecheck/gpl-3+.el b/test/licensecheck/gpl-3+.el
deleted file mode 100644
index cd59103..0000000
--- a/test/licensecheck/gpl-3+.el
+++ /dev/null
@@ -1,20 +0,0 @@
-;;; db-lemacs.el --- part of EDB, the Emacs database
-
-;; Copyright (C) 2004,2005,2006,2007,2008 Thien-Thi Nguyen
-
-;; This file is part of EDB.
-;;
-;; EDB is free software; you can redistribute it and/or modify it under
-;; the terms of the GNU General Public License as published by the Free
-;; Software Foundation; either version 3, or (at your option) any later
-;; version.
-;;
-;; EDB is distributed in the hope that it will be useful, but WITHOUT
-;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-;; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-;; for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with EDB; see the file COPYING.  If not, write to the Free
-;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-;; MA 02110-1301, USA.
diff --git a/test/licensecheck/gpl-3-only.c b/test/licensecheck/gpl-3-only.c
deleted file mode 100644
index b936ca1..0000000
--- a/test/licensecheck/gpl-3-only.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright (C) 2012 Devscripts developers
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 3 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
diff --git a/test/licensecheck/gpl-3.sh b/test/licensecheck/gpl-3.sh
deleted file mode 100644
index 17f1932..0000000
--- a/test/licensecheck/gpl-3.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright (C) 2012 Devscripts developers
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 3.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
-# details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/test/licensecheck/gpl-no-version.h b/test/licensecheck/gpl-no-version.h
deleted file mode 100644
index c03fd31..0000000
--- a/test/licensecheck/gpl-no-version.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/*-
- * Copyright (c) 2011 Wolfgang Hauck <wolfgang.hauck at gmx.de>.
- * Derived from imon-module.
- *
- * This source code is being released under the GPL.
- * Please see the file COPYING in this package for details.
- */
-
diff --git a/test/licensecheck/gpl-variation.c b/test/licensecheck/gpl-variation.c
deleted file mode 100644
index c0b82d6..0000000
--- a/test/licensecheck/gpl-variation.c
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright (c) 2013 Devscripts developers
-// All rights reserved.
-//
-// This file is part of Devscripts.
-// You can redistribute it and/or modify it under the terms of the GNU
-// General Public License as published by the Free Software Foundation,
-// either version 3 of the License, or (at your option) any later version.
-//
-// Licensees holding a valid commercial license may use this file in
-// accordance with the commercial license agreement provided with the software.
-//
-// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/test/licensecheck/info-at-eof.h b/test/licensecheck/info-at-eof.h
deleted file mode 100644
index f651a79..0000000
--- a/test/licensecheck/info-at-eof.h
+++ /dev/null
@@ -1,388 +0,0 @@
-/*
-** $Id: lua.h,v 1.218.1.7 2012/01/13 20:36:20 roberto Exp $
-** Lua - An Extensible Extension Language
-** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
-** See Copyright Notice at the end of this file
-*/
-
-
-#ifndef lua_h
-#define lua_h
-
-#include <stdarg.h>
-#include <stddef.h>
-
-
-#include "luaconf.h"
-
-
-#define LUA_VERSION     "Lua 5.1"
-#define LUA_RELEASE     "Lua 5.1.5"
-#define LUA_VERSION_NUM 501
-#define LUA_COPYRIGHT   "Copyright (C) 1994-2012 Lua.org, PUC-Rio"
-#define LUA_AUTHORS     "R. Ierusalimschy, L. H. de Figueiredo & W. Celes"
-
-
-/* mark for precompiled code (`<esc>Lua') */
-#define LUA_SIGNATURE   "\033Lua"
-
-/* option for multiple returns in `lua_pcall' and `lua_call' */
-#define LUA_MULTRET     (-1)
-
-
-/*
-** pseudo-indices
-*/
-#define LUA_REGISTRYINDEX       (-10000)
-#define LUA_ENVIRONINDEX        (-10001)
-#define LUA_GLOBALSINDEX        (-10002)
-#define lua_upvalueindex(i)     (LUA_GLOBALSINDEX-(i))
-
-
-/* thread status; 0 is OK */
-#define LUA_YIELD       1
-#define LUA_ERRRUN      2
-#define LUA_ERRSYNTAX   3
-#define LUA_ERRMEM      4
-#define LUA_ERRERR      5
-
-
-typedef struct lua_State lua_State;
-
-typedef int (*lua_CFunction) (lua_State *L);
-
-
-/*
-** functions that read/write blocks when loading/dumping Lua chunks
-*/
-typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
-
-typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
-
-
-/*
-** prototype for memory-allocation functions
-*/
-typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
-
-
-/*
-** basic types
-*/
-#define LUA_TNONE               (-1)
-
-#define LUA_TNIL                0
-#define LUA_TBOOLEAN            1
-#define LUA_TLIGHTUSERDATA      2
-#define LUA_TNUMBER             3
-#define LUA_TSTRING             4
-#define LUA_TTABLE              5
-#define LUA_TFUNCTION           6
-#define LUA_TUSERDATA           7
-#define LUA_TTHREAD             8
-
-
-
-/* minimum Lua stack available to a C function */
-#define LUA_MINSTACK    20
-
-
-/*
-** generic extra include file
-*/
-#if defined(LUA_USER_H)
-#include LUA_USER_H
-#endif
-
-
-/* type of numbers in Lua */
-typedef LUA_NUMBER lua_Number;
-
-
-/* type for integer functions */
-typedef LUA_INTEGER lua_Integer;
-
-
-
-/*
-** state manipulation
-*/
-LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
-LUA_API void       (lua_close) (lua_State *L);
-LUA_API lua_State *(lua_newthread) (lua_State *L);
-
-LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
-
-
-/*
-** basic stack manipulation
-*/
-LUA_API int   (lua_gettop) (lua_State *L);
-LUA_API void  (lua_settop) (lua_State *L, int idx);
-LUA_API void  (lua_pushvalue) (lua_State *L, int idx);
-LUA_API void  (lua_remove) (lua_State *L, int idx);
-LUA_API void  (lua_insert) (lua_State *L, int idx);
-LUA_API void  (lua_replace) (lua_State *L, int idx);
-LUA_API int   (lua_checkstack) (lua_State *L, int sz);
-
-LUA_API void  (lua_xmove) (lua_State *from, lua_State *to, int n);
-
-
-/*
-** access functions (stack -> C)
-*/
-
-LUA_API int             (lua_isnumber) (lua_State *L, int idx);
-LUA_API int             (lua_isstring) (lua_State *L, int idx);
-LUA_API int             (lua_iscfunction) (lua_State *L, int idx);
-LUA_API int             (lua_isuserdata) (lua_State *L, int idx);
-LUA_API int             (lua_type) (lua_State *L, int idx);
-LUA_API const char     *(lua_typename) (lua_State *L, int tp);
-
-LUA_API int            (lua_equal) (lua_State *L, int idx1, int idx2);
-LUA_API int            (lua_rawequal) (lua_State *L, int idx1, int idx2);
-LUA_API int            (lua_lessthan) (lua_State *L, int idx1, int idx2);
-
-LUA_API lua_Number      (lua_tonumber) (lua_State *L, int idx);
-LUA_API lua_Integer     (lua_tointeger) (lua_State *L, int idx);
-LUA_API int             (lua_toboolean) (lua_State *L, int idx);
-LUA_API const char     *(lua_tolstring) (lua_State *L, int idx, size_t *len);
-LUA_API size_t          (lua_objlen) (lua_State *L, int idx);
-LUA_API lua_CFunction   (lua_tocfunction) (lua_State *L, int idx);
-LUA_API void           *(lua_touserdata) (lua_State *L, int idx);
-LUA_API lua_State      *(lua_tothread) (lua_State *L, int idx);
-LUA_API const void     *(lua_topointer) (lua_State *L, int idx);
-
-
-/*
-** push functions (C -> stack)
-*/
-LUA_API void  (lua_pushnil) (lua_State *L);
-LUA_API void  (lua_pushnumber) (lua_State *L, lua_Number n);
-LUA_API void  (lua_pushinteger) (lua_State *L, lua_Integer n);
-LUA_API void  (lua_pushlstring) (lua_State *L, const char *s, size_t l);
-LUA_API void  (lua_pushstring) (lua_State *L, const char *s);
-LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
-                                                      va_list argp);
-LUA_API const char *(lua_pushfstring) (lua_State *L, const char *fmt, ...);
-LUA_API void  (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
-LUA_API void  (lua_pushboolean) (lua_State *L, int b);
-LUA_API void  (lua_pushlightuserdata) (lua_State *L, void *p);
-LUA_API int   (lua_pushthread) (lua_State *L);
-
-
-/*
-** get functions (Lua -> stack)
-*/
-LUA_API void  (lua_gettable) (lua_State *L, int idx);
-LUA_API void  (lua_getfield) (lua_State *L, int idx, const char *k);
-LUA_API void  (lua_rawget) (lua_State *L, int idx);
-LUA_API void  (lua_rawgeti) (lua_State *L, int idx, int n);
-LUA_API void  (lua_createtable) (lua_State *L, int narr, int nrec);
-LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
-LUA_API int   (lua_getmetatable) (lua_State *L, int objindex);
-LUA_API void  (lua_getfenv) (lua_State *L, int idx);
-
-
-/*
-** set functions (stack -> Lua)
-*/
-LUA_API void  (lua_settable) (lua_State *L, int idx);
-LUA_API void  (lua_setfield) (lua_State *L, int idx, const char *k);
-LUA_API void  (lua_rawset) (lua_State *L, int idx);
-LUA_API void  (lua_rawseti) (lua_State *L, int idx, int n);
-LUA_API int   (lua_setmetatable) (lua_State *L, int objindex);
-LUA_API int   (lua_setfenv) (lua_State *L, int idx);
-
-
-/*
-** `load' and `call' functions (load and run Lua code)
-*/
-LUA_API void  (lua_call) (lua_State *L, int nargs, int nresults);
-LUA_API int   (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
-LUA_API int   (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud);
-LUA_API int   (lua_load) (lua_State *L, lua_Reader reader, void *dt,
-                                        const char *chunkname);
-
-LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
-
-
-/*
-** coroutine functions
-*/
-LUA_API int  (lua_yield) (lua_State *L, int nresults);
-LUA_API int  (lua_resume) (lua_State *L, int narg);
-LUA_API int  (lua_status) (lua_State *L);
-
-/*
-** garbage-collection function and options
-*/
-
-#define LUA_GCSTOP              0
-#define LUA_GCRESTART           1
-#define LUA_GCCOLLECT           2
-#define LUA_GCCOUNT             3
-#define LUA_GCCOUNTB            4
-#define LUA_GCSTEP              5
-#define LUA_GCSETPAUSE          6
-#define LUA_GCSETSTEPMUL        7
-
-LUA_API int (lua_gc) (lua_State *L, int what, int data);
-
-
-/*
-** miscellaneous functions
-*/
-
-LUA_API int   (lua_error) (lua_State *L);
-
-LUA_API int   (lua_next) (lua_State *L, int idx);
-
-LUA_API void  (lua_concat) (lua_State *L, int n);
-
-LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
-LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
-
-
-
-/* 
-** ===============================================================
-** some useful macros
-** ===============================================================
-*/
-
-#define lua_pop(L,n)            lua_settop(L, -(n)-1)
-
-#define lua_newtable(L)         lua_createtable(L, 0, 0)
-
-#define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
-
-#define lua_pushcfunction(L,f)  lua_pushcclosure(L, (f), 0)
-
-#define lua_strlen(L,i)         lua_objlen(L, (i))
-
-#define lua_isfunction(L,n)     (lua_type(L, (n)) == LUA_TFUNCTION)
-#define lua_istable(L,n)        (lua_type(L, (n)) == LUA_TTABLE)
-#define lua_islightuserdata(L,n)        (lua_type(L, (n)) == LUA_TLIGHTUSERDATA)
-#define lua_isnil(L,n)          (lua_type(L, (n)) == LUA_TNIL)
-#define lua_isboolean(L,n)      (lua_type(L, (n)) == LUA_TBOOLEAN)
-#define lua_isthread(L,n)       (lua_type(L, (n)) == LUA_TTHREAD)
-#define lua_isnone(L,n)         (lua_type(L, (n)) == LUA_TNONE)
-#define lua_isnoneornil(L, n)   (lua_type(L, (n)) <= 0)
-
-#define lua_pushliteral(L, s)   \
-        lua_pushlstring(L, "" s, (sizeof(s)/sizeof(char))-1)
-
-#define lua_setglobal(L,s)      lua_setfield(L, LUA_GLOBALSINDEX, (s))
-#define lua_getglobal(L,s)      lua_getfield(L, LUA_GLOBALSINDEX, (s))
-
-#define lua_tostring(L,i)       lua_tolstring(L, (i), NULL)
-
-
-
-/*
-** compatibility macros and functions
-*/
-
-#define lua_open()      luaL_newstate()
-
-#define lua_getregistry(L)      lua_pushvalue(L, LUA_REGISTRYINDEX)
-
-#define lua_getgccount(L)       lua_gc(L, LUA_GCCOUNT, 0)
-
-#define lua_Chunkreader         lua_Reader
-#define lua_Chunkwriter         lua_Writer
-
-
-/* hack */
-LUA_API void lua_setlevel       (lua_State *from, lua_State *to);
-
-
-/*
-** {======================================================================
-** Debug API
-** =======================================================================
-*/
-
-
-/*
-** Event codes
-*/
-#define LUA_HOOKCALL    0
-#define LUA_HOOKRET     1
-#define LUA_HOOKLINE    2
-#define LUA_HOOKCOUNT   3
-#define LUA_HOOKTAILRET 4
-
-
-/*
-** Event masks
-*/
-#define LUA_MASKCALL    (1 << LUA_HOOKCALL)
-#define LUA_MASKRET     (1 << LUA_HOOKRET)
-#define LUA_MASKLINE    (1 << LUA_HOOKLINE)
-#define LUA_MASKCOUNT   (1 << LUA_HOOKCOUNT)
-
-typedef struct lua_Debug lua_Debug;  /* activation record */
-
-
-/* Functions to be called by the debuger in specific events */
-typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
-
-
-LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar);
-LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);
-LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);
-LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);
-LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n);
-LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n);
-
-LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count);
-LUA_API lua_Hook lua_gethook (lua_State *L);
-LUA_API int lua_gethookmask (lua_State *L);
-LUA_API int lua_gethookcount (lua_State *L);
-
-
-struct lua_Debug {
-  int event;
-  const char *name;     /* (n) */
-  const char *namewhat; /* (n) `global', `local', `field', `method' */
-  const char *what;     /* (S) `Lua', `C', `main', `tail' */
-  const char *source;   /* (S) */
-  int currentline;      /* (l) */
-  int nups;             /* (u) number of upvalues */
-  int linedefined;      /* (S) */
-  int lastlinedefined;  /* (S) */
-  char short_src[LUA_IDSIZE]; /* (S) */
-  /* private part */
-  int i_ci;  /* active function */
-};
-
-/* }====================================================================== */
-
-
-/******************************************************************************
-* Copyright (C) 1994-2012 Lua.org, PUC-Rio.  All rights reserved.
-*
-* Permission is hereby granted, free of charge, to any person obtaining
-* a copy of this software and associated documentation files (the
-* "Software"), to deal in the Software without restriction, including
-* without limitation the rights to use, copy, modify, merge, publish,
-* distribute, sublicense, and/or sell copies of the Software, and to
-* permit persons to whom the Software is furnished to do so, subject to
-* the following conditions:
-*
-* The above copyright notice and this permission notice shall be
-* included in all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-******************************************************************************/
-
-
-#endif
diff --git a/test/licensecheck/lgpl-2-3.c b/test/licensecheck/lgpl-2-3.c
deleted file mode 100644
index bece581..0000000
--- a/test/licensecheck/lgpl-2-3.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (C) 2014 Devscripts developers
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- */
diff --git a/test/licensecheck/lgpl-2.1.c b/test/licensecheck/lgpl-2.1.c
deleted file mode 100644
index c3c12ff..0000000
--- a/test/licensecheck/lgpl-2.1.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) 2012 Devscripts developers
- *
- * The devscripts library is licensed under the terms of the GNU
- * Lesser General Public License, version 2.1. Please see the file
- * COPYING.LGPL.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
diff --git a/test/licensecheck/lgpl-2.1.h b/test/licensecheck/lgpl-2.1.h
deleted file mode 100644
index d82a10c..0000000
--- a/test/licensecheck/lgpl-2.1.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) 2012 Devscripts developers
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2.1 of the GNU Lesser General
- * Public License published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, <http://www.gnu.org/licenses/>.
- */
diff --git a/test/licensecheck/lgpl-2.s b/test/licensecheck/lgpl-2.s
deleted file mode 100644
index f7647c8..0000000
--- a/test/licensecheck/lgpl-2.s
+++ /dev/null
@@ -1,11 +0,0 @@
-@ Copyright (C) 2012 Devscripts developers
-@
-@ This library is free software; you can redistribute it and/or
-@ modify it under the terms of the GNU Library General Public
-@ License as published by the Free Software Foundation;
-@ version 2 of the License.
-@
-@ This library is distributed in the hope that it will be useful,
-@ but WITHOUT ANY WARRANTY; without even the implied warranty of
-@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-@ Library General Public License for more details.
diff --git a/test/licensecheck/lgpl-3+.h b/test/licensecheck/lgpl-3+.h
deleted file mode 100644
index 4ab70af..0000000
--- a/test/licensecheck/lgpl-3+.h
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright (c) 2013 Devscripts developers
-// All rights reserved.
-//
-// The files in this directory are part of the Devscripts Library.
-// You can redistribute them and/or  modify them under the terms of the
-// GNU Lesser General Public License as published by the Free Software Foundation;
-// either version 3 of the License, or (at your option) any later version.
-//
-// Licensees holding a valid commercial license may use this file in
-// accordance with the commercial license agreement provided with the software.
-//
-// These files are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/test/licensecheck/lgpl-big-blue.h b/test/licensecheck/lgpl-big-blue.h
deleted file mode 100644
index d1f288c..0000000
--- a/test/licensecheck/lgpl-big-blue.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt).  The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html.  If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- * 
- * Contributors:
- *     IBM Corporation - initial API and implementation
- *******************************************************************************/
diff --git a/test/licensecheck/lgpl-by-dist-zilla.pl b/test/licensecheck/lgpl-by-dist-zilla.pl
deleted file mode 100644
index 13b59e6..0000000
--- a/test/licensecheck/lgpl-by-dist-zilla.pl
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/perl
-#
-# This file is part of Config-Model-LcdProc
-#
-# This software is Copyright (c) 2016 by Dominique Dumont.
-#
-# This is free software, licensed under:
-#
-#   The GNU Lesser General Public License, Version 2.1, February 1999
-#
-
-# test headers provided by Dist;:Zilla. Well, provided means
-# "ge.ne.ra.ted" but that breaks the test as licensecheck will issue
-# "GE.NE.RA.TED FILE"
-
-use strict;
-use warnings;
-
-# This script uses all the information available in LCDd.conf to create a model
-# for LCDd configuration file
diff --git a/test/licensecheck/lgpl-digia.c b/test/licensecheck/lgpl-digia.c
deleted file mode 100644
index fbff4e7..0000000
--- a/test/licensecheck/lgpl-digia.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the test suite of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL21$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Digia. For licensing terms and
-** conditions see http://qt.digia.com/licensing. For further information
-** use the contact form at http://qt.digia.com/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Digia gives you certain additional
-** rights. These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
diff --git a/test/licensecheck/lgpl-no-version.h b/test/licensecheck/lgpl-no-version.h
deleted file mode 100644
index 8f778fd..0000000
--- a/test/licensecheck/lgpl-no-version.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/*-
- * Copyright (c) 2011 Wolfgang Hauck <wolfgang.hauck at gmx.de>.
- * Derived from imon-module.
- *
- * This source code is being released under the LGPL.
- * Please see the file COPYING in this package for details.
- */
-
diff --git a/test/licensecheck/lgpl-variation.c b/test/licensecheck/lgpl-variation.c
deleted file mode 100644
index 80ba416..0000000
--- a/test/licensecheck/lgpl-variation.c
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (c) 2013 Devscripts developers. All rights reserved.
-//
-// This file is part of Devscripts; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public License as
-// published by the Free Software Foundation; either version 3 of the License,
-// or (at your option) any later version.
-//
-// Licensees holding a valid commercial license may use this file in
-// accordance with the commercial license agreement provided with the software.
-//
-// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/test/licensecheck/libuv-isc.am b/test/licensecheck/libuv-isc.am
deleted file mode 100644
index e9cd24c..0000000
--- a/test/licensecheck/libuv-isc.am
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright (c) 2013, Ben Noordhuis <info at bnoordhuis.nl>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-ACLOCAL_AMFLAGS = -I m4
-
-AM_CPPFLAGS = -I$(top_srcdir)/include \
-              -I$(top_srcdir)/src
-
-include_HEADERS=include/uv.h include/uv-errno.h include/uv-threadpool.h include/uv-version.h
-
-CLEANFILES =
-
-lib_LTLIBRARIES = libuv.la
diff --git a/test/licensecheck/llgpl.lisp b/test/licensecheck/llgpl.lisp
deleted file mode 100644
index a559889..0000000
--- a/test/licensecheck/llgpl.lisp
+++ /dev/null
@@ -1,13 +0,0 @@
-;;;; -*- mode: lisp -*-
-;;;;
-;;;; $Id: base64.lisp,v 1.1.1.1 2004/06/09 09:02:39 scaekenberghe Exp $
-;;;;
-;;;; This is a Common Lisp implementation of Base64 encoding and decoding.
-;;;;
-;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
-;;;;
-;;;; You are granted the rights to distribute and use this software
-;;;; as governed by the terms of the Lisp Lesser General Public License
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
-
-;;;; from http://anonscm.debian.org/cgit/debian-science/packages/ros/ros-roslisp.git/plain/s-xml-rpc/src/base64.lisp
diff --git a/test/licensecheck/mame-style.c b/test/licensecheck/mame-style.c
deleted file mode 100644
index f005dc7..0000000
--- a/test/licensecheck/mame-style.c
+++ /dev/null
@@ -1,6 +0,0 @@
-// header found in mame project See #820798
-
-// license:BSD-3-Clause
-// copyright-holders:Miodrag Milanovic
-
-// yada yada yada
diff --git a/test/licensecheck/mpl-1.1.sh b/test/licensecheck/mpl-1.1.sh
deleted file mode 100644
index 6cf945b..0000000
--- a/test/licensecheck/mpl-1.1.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# The contents of this file are subject to the Mozilla Public License
-# Version 1.1 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-# License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is debian devscripts code.
-#
-# The Initial Developer of the Original Code is
-# devscripts developers.
-# Portions created by the Initial Developer are Copyright (C) 2012
-# the Initial Developer. All Rights Reserved.
diff --git a/test/licensecheck/mpl-2.0-comma.sh b/test/licensecheck/mpl-2.0-comma.sh
deleted file mode 100644
index caf2954..0000000
--- a/test/licensecheck/mpl-2.0-comma.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright devscripts developers
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
diff --git a/test/licensecheck/mpl-2.0.sh b/test/licensecheck/mpl-2.0.sh
deleted file mode 100644
index 1ce4472..0000000
--- a/test/licensecheck/mpl-2.0.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright devscripts developers
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
diff --git a/test/licensecheck/multi-line-copyright.c b/test/licensecheck/multi-line-copyright.c
deleted file mode 100644
index 224ea3d..0000000
--- a/test/licensecheck/multi-line-copyright.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*************************************************************************
- * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
- *             2005 Lars Knoll & Zack Rusin, Trolltech
- *             2008 Aaron Plattner, NVIDIA Corporation
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 3 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/.
- *
- * This file may incorporate work that is in the public domain and/or
- * covered under the following copyright and permission notice:
- *
- *   Written by devscripts developers and released to the public domain,
- *   as explained at http://creativecommons.org/publicdomain/zero/1.0/
- ************************************************************************/
-
-/* See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519080 */
diff --git a/test/licensecheck/regexp-killer.c b/test/licensecheck/regexp-killer.c
deleted file mode 100644
index 4350abb..0000000
--- a/test/licensecheck/regexp-killer.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * (c) 2013 Devscript Developers
- *
- * Initially seen in:
- *   freeswitch/libs/ldns/dnssec.c
- * the line starting with equals gets seen as potential comment fodder
- * but when the double-equals is put in the [] it breaks the regexp that is built
- */
-if (foo
-	    == bar
-    ) {
-		return baz;
-	}
-
-/* there are some other files where:
-
- :: people have made their comments start like this
- :: which bumps into the same issue.
-
-*/
diff --git a/test/licensecheck/texinfo.tex b/test/licensecheck/texinfo.tex
deleted file mode 100644
index df05856..0000000
--- a/test/licensecheck/texinfo.tex
+++ /dev/null
@@ -1,27 +0,0 @@
-% texinfo.tex -- TeX macros to handle Texinfo files.
-% 
-% Load plain if necessary, i.e., if running under initex.
-\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
-%
-\def\texinfoversion{2012-03-11.15}
-%
-% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
-% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-% 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
-%
-% This texinfo.tex file is free software: you can redistribute it and/or
-% modify it under the terms of the GNU General Public License as
-% published by the Free Software Foundation, either version 3 of the
-% License, or (at your option) any later version.
-%
-% This texinfo.tex file is distributed in the hope that it will be
-% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
-% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-% General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with this program.  If not, see <http://www.gnu.org/licenses/>.
-%
-% As a special exception, when this file is read by TeX when processing
-% a Texinfo source document, you may use the result without
-% restriction.  (This has been our intent since Texinfo was invented.)
diff --git a/test/test_licensecheck b/test/test_licensecheck
deleted file mode 100755
index f6200b8..0000000
--- a/test/test_licensecheck
+++ /dev/null
@@ -1,180 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) 2012, Benjamin Drung <bdrung at debian.org>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-if test "$1" = --installed; then
-    COMMAND="licensecheck --no-conf"
-    shift
-else
-    COMMAND="../scripts/licensecheck.pl --no-conf"
-fi
-
-WORKDIR="$(readlink -f "${0%/*}")"
-
-. "${0%/*}/shunit2-helper-functions.sh"
-
-license() {
-    cd "$WORKDIR"
-    runCommand "licensecheck/$1" "licensecheck/$1: $2" "" 0
-}
-
-license2() {
-    cd "$WORKDIR"
-    runCommand "$1 licensecheck/$2" "licensecheck/$2	$3" "" 0
-}
-
-testBeerware() {
-    license "beerware.cpp" "Beerware"
-}
-
-testBoost() {
-    license "boost.h" "BSL"
-}
-
-testArtistic() {
-    license2 "-m --copyright" "artistic-2-0-modules.pm" "Artistic (v2.0)	2009 Moritz Lenz and the SVG::Plot contributors (see file"
-    license2 "-m --copyright" "artistic-2-0.txt" "Artistic (v2.0)	2000-2006, The Perl Foundation / 2000 Testophilus Testownik <tester at testity.org>"
-    license2 "-m --copyright --deb-fmt" "artistic-2-0-modules.pm" "Artistic-2.0	2009 Moritz Lenz and the SVG::Plot contributors (see file"
-    license2 "-m --copyright --deb-fmt" "artistic-2-0.txt" "Artistic-2.0	2000-2006, The Perl Foundation / 2000 Testophilus Testownik <tester at testity.org>"
-}
-
-testAcademic() {
-    license "academic.h" "AFL-3.0"
-}
-
-testEclipse() {
-    license2 "-m --copyright" "epl.h" "EPL-1.0	2004, 2006 IBM Corporation and others"
-    license2 "-m --copyright --deb-fmt" "epl.h" "EPL-1.0	2004, 2006 IBM Corporation and others"
-}
-
-testBSD() {
-    license "bsd-1-clause-1.c" "BSD"
-    license "bsd-3-clause.cpp" "BSD (3 clause)"
-    license "bsd-3-clause-authorsany.c" "BSD (3 clause)"
-    license2 "-m --copyright" "mame-style.c" "BSD (3 clause)	Miodrag Milanovic"
-    license2 "-m --copyright --deb-fmt" "mame-style.c" "BSD-3-Clause	Miodrag Milanovic"
-}
-
-testMultiLineDeclaration() {
-    # test copyright declared on 2 lines
-    license2 "-m --copyright" "bsd-regents.c" "BSD (3 clause)	1987, 1993, 1994 The Regents of the University of California. All rights reserved."
-    # or 3 lines
-    license2 "-m --copyright" "texinfo.tex" "GPL (v3 or later)	1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc."
-    # BTS #519080
-    license2 "-m --copyright" "multi-line-copyright.c" "Public domain GPL (v3)	2008 Aaron Plattner, NVIDIA Corporation / 2005 Lars Knoll & Zack Rusin, Trolltech / 2000 Keith Packard, member of The XFree86 Project, Inc"
-}
-
-testDuplicatedCopyright() {
-    license2 "-m --copyright" "duplicated-copyright.rb" "Apache (v2.0)	2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs"
-}
-
-testLGPL() {
-    license "lgpl-2.1.c" "LGPL (v2.1)"
-    license "lgpl-2.1.h" "LGPL (v2.1)"
-    license "lgpl-2.s" "LGPL (v2)"
-    license "lgpl-2-3.c" "LGPL (v2 or v3)"
-    license "lgpl-3+.h" "LGPL (v3 or later)"
-    license "lgpl-variation.c" "LGPL (v3 or later)"
-    license "lgpl-no-version.h" "LGPL (unversioned/unknown version)"
-    license2  "-m --copyright" "lgpl-big-blue.h" "LGPL (v2.1)	2000, 2010 IBM Corporation and others. All rights reserved"
-    license2  "-m --copyright" "lgpl-digia.c" "LGPL (v2.1 or v3)	2014 Digia Plc and/or its subsidiary(-ies)"
-    license2  "-m --copyright" "lgpl-by-dist-zilla.pl" "LGPL (v2.1)	2016 Dominique Dumont"
-    license2  "-m --copyright --deb-fmt" "lgpl-big-blue.h" "LGPL-2.1	2000, 2010 IBM Corporation and others. All rights reserved"
-    license2  "-m --copyright --deb-fmt" "lgpl-digia.c" "LGPL-2.1 or LGPL-3	2014 Digia Plc and/or its subsidiary(-ies)"
-    license2  "-m --copyright --deb-fmt" "lgpl-by-dist-zilla.pl" "LGPL-2.1	2016 Dominique Dumont"
-}
-
-# Lisp Lesser General Public License (BTS #806424) 
-# see http://opensource.franz.com/preamble.html
-testLLGPL() {
-    license2  "-m --copyright" "llgpl.lisp" "LLGPL	2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA"
-}
-
-testGPL() {
-    license "gpl-1" "GPL (v1 or later)"
-    license "gpl-2" "GPL (v2)"
-    license "bug-559429" "GPL (v2)"
-    license "gpl-2+" "GPL (v2 or later)"
-    license "gpl-2+.scm" "GPL (v2 or later)"
-    license "gpl-2-comma.sh" "GPL (v2)"
-    license "gpl-2-incorrect-address" "GPL (v2) (with incorrect FSF address)"
-    license "gpl-3.sh" "GPL (v3)"
-    license "gpl-3+" "GPL (v3 or later)"
-    license "gpl-3+-with-rem-comment.xml" "GPL (v3 or later)"
-    license "gpl-3-only.c" "GPL (v3)"
-    license "gpl-variation.c" "GPL (v3 or later)"
-    license "gpl-3+.el" "GPL (v3 or later)"
-    license "gpl-no-version.h" "GPL (unversioned/unknown version)"
-}
-
-testDual() {
-    license "dual.c" "Public domain GPL (v3)"
-}
-
-testMPL() {
-    license "mpl-1.1.sh" "MPL (v1.1)"
-    license "mpl-2.0.sh" "MPL (v2.0)"
-    license "mpl-2.0-comma.sh" "MPL (v2.0)"
-}
-
-testFreeType() {
-    license2 "-m --copyright" "freetype.c" "FreeType	2001, 2012 David Turner, Robert Wilhelm, and Werner Lemberg."
-    license2 "-m --copyright --deb-fmt" "freetype.c" "FTL	2001, 2012 David Turner, Robert Wilhelm, and Werner Lemberg."
-}
-
-testCDDL() {
-    license2 "-m --copyright" "cddl.h" "CDDL	2006 Sun Microsystems, Inc. All rights reserved"
-}
-
-testISC() {
-    license2 "-m --copyright" "libuv-isc.am" "ISC	2013, Ben Noordhuis <info at bnoordhuis.nl>"
-}
-
-testMachine() {
-    license2 "-m" "beerware.cpp" "Beerware"
-    license2 "--machine" "lgpl-2.1.h" "LGPL (v2.1)"
-    license2 "-m --copyright" "gpl-2" "GPL (v2)	2012 Devscripts developers"
-}
-
-testFortranComments() {
-    license "bsd.f" "BSD (2 clause)"
-}
-
-testCommentsDetection() {
-    license "comments-detection.h" "GPL (v3 or later)"
-    license "comments-detection.txt" "*No copyright* LGPL (v2.1 or later)"
-}
-
-testFalsePositives() {
-    license2 "-m --copyright" "false-positives" "Public domain	2013 Devscripts developers"
-}
-
-testRegexpKiller() {
-    license "regexp-killer.c" "UNKNOWN"
-}
-
-testEncoding () {
-    license2 "-m --copyright --encoding iso-8859-1" "copr-iso8859.h" "GPL (v2) (with incorrect FSF address)	2011 Heinrich Müller <henmull at src.gnome.org>"
-    license2 "-m --copyright --encoding utf8" "copr-utf8.h" "GPL (v2 or later)	2004-2015 Oliva 'f00' Oberto / 2001-2010 Paul 'bar' Stevénsön"
-
-    # test wrong user choice and fallback
-    license2 "-m --copyright --encoding utf8" "copr-iso8859.h" "GPL (v2) (with incorrect FSF address)	2011 Heinrich Müller <henmull at src.gnome.org>"
-}
-
-testInfoAtEnd () {
-    license2 "-m --copyright" "info-at-eof.h" "MIT/X11 (BSD like)	1994-2012 Lua.org, PUC-Rio. All rights reserved"
-}
-
-. shunit2
diff --git a/test/test_licensecheck_SL b/test/test_licensecheck_SL
deleted file mode 100755
index bff706a..0000000
--- a/test/test_licensecheck_SL
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/usr/bin/perl 
-
-use File::Temp qw();
-use Software::License;
-require UNIVERSAL::require;
-use Test::More;
-
-my $COMMAND = ($ARGV[0] eq '--installed')
-            ? "licensecheck --no-conf"
-            : "../scripts/licensecheck.pl --no-conf";
-
-my %LICENSES = (
-    Apache_2_0=>'Apache (v2.0)',
-    FreeBSD=>'BSD (2 clause)',
-    GPL_1=>'GPL (v1)',
-    GPL_2=>'GPL (v2)',
-    GPL_3=>'GPL (v3)',
-    LGPL_2=>'LGPL (v2)',
-    LGPL_2_1=>'LGPL (v2.1)',
-    LGPL_3_0=>'LGPL (v3)',
-    MIT=>'MIT/X11 (BSD like)',
-    Mozilla_2_0=>'MPL (v2.0)',
-    QPL_1_0=>'QPL',
-    Zlib=>'zlib/libpng',
-    CC0_1_0=>'UNKNOWN',
-    GFDL_1_3=>'UNKNOWN',
-    Artistic_1_0=>'Artistic (v1.0)',
-    Artistic_2_0=>'Artistic (v2.0)',
-    Mozilla_1_0=>'MPL (v1.0)',
-    None=>'UNKNOWN',
-    PostgreSQL=>'UNKNOWN',
-    AGPL_3=>'UNKNOWN', # This is broken since licensecheck started looking at the tail
-    SSLeay=>'BSD (2 clause)',
-    Apache_1_1=>'UNKNOWN',
-    Mozilla_1_1=>'MPL (v1.1)',
-    GFDL_1_2=>'UNKNOWN',
-    Sun=>'UNKNOWN',
-    BSD=>'BSD (3 clause)',
-    OpenSSL=>'UNKNOWN', # This is actually a dual license not simply BSD 4 clause
-    Perl_5=>'UNKNOWN',
-);
-
-my $SL_VERSION=`dpkg-query -W -f='\${Version}' libsoftware-license-perl`;
-if (system("dpkg --compare-versions $SL_VERSION gt 0.103010-3") == 0) {
-	plan tests=>scalar(keys %LICENSES);
-} else {
-	plan skip_all=>"Software::License $SL_VERSION too old for this test";
-}
-
-my $dir = File::Temp->newdir('/tmp/slgenXXXXX');
-my $year = 2000;
-foreach my $license (keys %LICENSES) {
-	my $slfile = $dir->dirname . "/$license";
-	my $module = "Software::License::$license";
-	$module->require;
-	my $slobj = $module->new({
-		holder => 'Testophilus Testownik <tester at testity.org>',
-		year=>$year,
-	});
-	open my $fh, '>', $slfile;
-	print $fh $slobj->notice;
-	print $fh $slobj->debian_text;
-	close $fh;
-	++$year;
-}
-my $dirname=$dir->dirname;
-open(my $fh, "$COMMAND --recursive -c '.+' $dirname |") or die "can't run licensecheck: $!";
-while(my $line = <$fh>) {
-    if ($line =~ m{^$dirname/(\w+): (.+)$}) {
-        my $file=$1;
-        my $result=$2;
-        my $success = is($result, $LICENSES{$file}, $file);
-        if ($LICENSES{$file} eq 'UNKNOWN' and $success) {
-            diag("licensecheck failed to parse $file as expected");
-        }
-    }
-    else {
-        die "Unexpected output: $line";
-    }
-}
-
-    
-    

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list