From 3daaf5fd9449b35ce0210ec391c002a75c50a2c7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 28 Oct 2017 01:11:55 +0200 Subject: add minimal tests --- MANIFEST | 1 + NEWS | 2 ++ t/01compile.t | 10 ++++++++++ 3 files changed, 13 insertions(+) create mode 100644 t/01compile.t diff --git a/MANIFEST b/MANIFEST index 5faa26a..5dba9dd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -11,3 +11,4 @@ lib/MDK/Common/System.pm lib/MDK/Common/Various.pm lib/MDK/Common.pm MANIFEST +t/01compile.t diff --git a/NEWS b/NEWS index 83161af..0314888 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- add minimal testsuite + Version 1.2.32 - 4 April 2016, by Thierry Vignaud - setVarsInSh*(): sort entries diff --git a/t/01compile.t b/t/01compile.t new file mode 100644 index 0000000..7ba05ce --- /dev/null +++ b/t/01compile.t @@ -0,0 +1,10 @@ +#!/usr/bin/perl +# $Id$ + +use Test::More tests => 3; + +use_ok('MDK::Common'); +can_ok('MDK::Common', qw(if_ member uniq)); + +# System +can_ok('MDK::Common::System', qw(arch fuzzy_pidofs list_home)); -- cgit v1.2.1