chiark / gitweb /
b2ad7071a1c341a5afdbfd489121235eb36f0cdd
[cgi-auth-flexible.git] / tests / Makefile
1 # -*- make -*-
2 #
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.
5
6 # This is part of CGI::Auth::Flexible, a perl CGI authentication module.
7 #
8 # Copyright 2012,2013,2015 Ian Jackson.
9 # Copyright 2012,2013,2015 Citrix.
10 #
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.
17 #
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.
22
23 TESTS := $(basename $(shell echo *.at))
24 CHECKS := $(addprefix check-,$(TESTS))
25
26 all check: $(CHECKS)
27
28 check-%: %.at
29         @ set -e; cd ..; tests/autotest tests/$^ </dev/null