W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: Add a _very_ basic "test suite".

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:46:57 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1ij-0005an-Hh@blinky.w3.org>
changeset:   61:445cb94a5278
user:        ville
date:        Sat Apr 17 10:28:07 2004 +0000
files:       MANIFEST META.yml Makefile.PL t/00compile.t
description:
Add a _very_ basic "test suite".


diff -r af2839038c48 -r 445cb94a5278 MANIFEST
--- a/MANIFEST	Mon Apr 12 15:38:12 2004 +0000
+++ b/MANIFEST	Sat Apr 17 10:28:07 2004 +0000
@@ -13,3 +13,4 @@
 docs/qa-small.png
 docs/valid-xhtml10.png
 docs/w3c_home.png
+t/00compile.t
diff -r af2839038c48 -r 445cb94a5278 META.yml
--- a/META.yml	Mon Apr 12 15:38:12 2004 +0000
+++ b/META.yml	Sat Apr 17 10:28:07 2004 +0000
@@ -7,10 +7,12 @@
 requires:
     CGI:                           0
     Config::General:               2.06
+    File::Spec:                    0
     HTML::Parser:                  3
     LWP:                           5.66
     Net::IP:                       0
     Term::ReadKey:                 2
+    Test::Simple:                  0
     Time::HiRes:                   0
     URI:                           0
 
diff -r af2839038c48 -r 445cb94a5278 Makefile.PL
--- a/Makefile.PL	Mon Apr 12 15:38:12 2004 +0000
+++ b/Makefile.PL	Sat Apr 17 10:28:07 2004 +0000
@@ -29,6 +29,9 @@
                      Term::ReadKey   => 2.00,
                      Time::HiRes     => 0,
                      URI             => 0,
+                     # For the test suite:
+                     Test::Simple    => 0,
+                     File::Spec      => 0,
                    },
   EXE_FILES     => [ 'bin/checklink' ],
   MAN1PODS      => { 'bin/checklink.pod' =>
diff -r af2839038c48 -r 445cb94a5278 t/00compile.t
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/t/00compile.t	Sat Apr 17 10:28:07 2004 +0000
@@ -0,0 +1,4 @@
+use Test::Simple tests => 1;                                     # -*- perl -*-
+use File::Spec ();
+
+ok(system($^X, '-wTc', File::Spec->catfile('bin', 'checklink')) == 0);
Received on Thursday, 5 August 2010 15:28:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC