diff options
author | Guillaume Rousse <guillomovitch@mageia.org> | 2012-12-10 18:19:07 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mageia.org> | 2012-12-10 18:19:07 +0000 |
commit | e4350784fcb06b472c903633d0f3a8209457006a (patch) | |
tree | 85068e982cbbe224270760807f90959261ef88d9 /t/01compile.t | |
parent | 04bd5cebd2e0dfb0b967ad803a9c9545c6038a2c (diff) | |
download | urpmi-e4350784fcb06b472c903633d0f3a8209457006a.tar urpmi-e4350784fcb06b472c903633d0f3a8209457006a.tar.gz urpmi-e4350784fcb06b472c903633d0f3a8209457006a.tar.bz2 urpmi-e4350784fcb06b472c903633d0f3a8209457006a.tar.xz urpmi-e4350784fcb06b472c903633d0f3a8209457006a.zip |
revert my previous commits, this was a bad anyway
Diffstat (limited to 't/01compile.t')
-rw-r--r-- | t/01compile.t | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/t/01compile.t b/t/01compile.t index 727112a3..2b81d0c3 100644 --- a/t/01compile.t +++ b/t/01compile.t @@ -2,14 +2,10 @@ use strict; use warnings; +use Test::More tests => 26; -use English qw(-no_match_vars); -use Test::More; - -eval { - require Test::Compile; - Test::Compile->import(); -}; -plan(skip_all => 'Test::Compile required') if $EVAL_ERROR; - -all_pm_files_ok(all_pm_files('urpm')); +for my $module (glob("urpm/*.pm")) { + $module =~ s,/,::,g; + $module =~ s,\.pm$,,; + use_ok $module; +} |