summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b5cfc0..c9d1bb3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,13 @@ PERL_FILES = httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl \
PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place
PERLCRITIC = perlcritic --profile misc/perlcriticrc
+VALIDATOR_URI = http://localhost/w3c-validator/check
+
all:
+test:
+ misc/testsuite/harness.py --validator_uri=$(VALIDATOR_URI) run
+
perlcritic:
$(PERLCRITIC) $(PERL_FILES)