From 5b8587256ee14f40acf7d0cf026ffebc2f53be15 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 7 Nov 2005 16:25:01 +0000 Subject: Add test to ensure everything compiles. Use strict in tests. --- t/01compile.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 t/01compile.t (limited to 't/01compile.t') diff --git a/t/01compile.t b/t/01compile.t new file mode 100644 index 00000000..366848aa --- /dev/null +++ b/t/01compile.t @@ -0,0 +1,10 @@ +#!/usr/bin/perl + +use strict; +use Test::More tests => 10; + +for my $module (glob("urpm/*.pm")) { + $module =~ s,/,::,g; + $module =~ s,\.pm$,,; + use_ok $module; +} -- cgit v1.2.1