3 # Run `make check' (or just `make') in this directory, to run all the
4 # tests. Run `make check-TESTNAME' to run just one test.
6 # This is part of CGI::Auth::Flexible, a perl CGI authentication module.
8 # Copyright 2012,2013,2015 Ian Jackson.
9 # Copyright 2012,2013,2015 Citrix.
11 # This program is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Affero General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version, with the "CAF Login Exception"
15 # as published by Ian Jackson (version 1, or at your option any
16 # later version) as an Additional Permission.
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU Affero General Public License for more details.
23 TESTS := $(basename $(shell echo *.at))
24 CHECKS := $(addprefix check-,$(TESTS))
29 @ set -e; cd ..; tests/autotest tests/$^ </dev/null