9 plan(skip_all => 'running installed') if $ENV{INSTALLED_TESTS};
11 @pages=qw(index features news plugins/map security);
12 if (system("command -v validate >/dev/null") != 0) {
13 plan skip_all => "html validator not present";
16 plan(tests => int @pages + 2);
21 # Have to build the html pages first.
22 # Note that just building them like this doesn't exersise all the possible
23 # html that can be generated, in particular it misses some of the action
24 # links at the top, etc.
25 ok(system("make >/dev/null") == 0);
27 foreach my $page (@pages) {
28 print "# Validating $page\n";
29 ok(system("validate html/$page.html") == 0);
32 # TODO: validate form output html