From 984a5a253977d6305b2abc001c92bf6da5371084 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sun, 23 Jan 2011 19:57:23 -0800 Subject: [PATCH] added cpan tests --- t/00-load.t | 7 +++++++ t/manifest.t | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 t/00-load.t create mode 100644 t/manifest.t diff --git a/t/00-load.t b/t/00-load.t new file mode 100644 index 0000000..5687318 --- /dev/null +++ b/t/00-load.t @@ -0,0 +1,7 @@ +#!/usr/bin/perl + +use Test::More tests => 1; +use Test::Script::Run; + +run_ok( 'feedGnuplot', ['--help'], 'feedGnuplot can run'); + diff --git a/t/manifest.t b/t/manifest.t new file mode 100644 index 0000000..45eb83f --- /dev/null +++ b/t/manifest.t @@ -0,0 +1,13 @@ +#!perl -T + +use strict; +use warnings; +use Test::More; + +unless ( $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +eval "use Test::CheckManifest 0.9"; +plan skip_all => "Test::CheckManifest 0.9 required" if $@; +ok_manifest();