Browse files

add manifest xt test

  • Loading branch information...
1 parent 98db746 commit 5a921d6e213ba5b7b8987b24b87d92087d337b21 @yanick committed Sep 8, 2011
Showing with 25 additions and 16 deletions.
  1. +2 −16 MANIFEST
  2. +2 −0 MANIFEST.SKIP
  3. +21 −0 xt/manifest.t
View
18 MANIFEST
@@ -15,7 +15,6 @@ mkta.pl
oci.def OCI.DLL export declarations
oci8.c
ocitrace.h
-ora_explain.PL
Oracle.ex/bind.pl
Oracle.ex/commit.pl
Oracle.ex/curref.pl
@@ -33,21 +32,6 @@ Oracle.xs
oraperl.ph Old oraperl file included for completeness of emulation
Oraperl.pm
README
-README-files/hpux/Conf-Lincoln-1.06
-README-files/hpux/Conf-Lincoln-1.07
-README-files/hpux/Conf-Merijn-580-10.20-cc
-README-files/hpux/Conf-Merijn-585-11.00-cc
-README-files/hpux/Conf-Merijn-585-11.11-cc
-README-files/hpux/Conf-Merijn-587-11.23-cc
-README-files/hpux/Conf-Merijn-588-10.20-gcc
-README-files/hpux/Conf-Merijn-588-11.00-gcc32
-README-files/hpux/Conf-Merijn-588-11.00-gcc64
-README-files/hpux/Conf-Merijn-588-11.11-gcc32
-README-files/hpux/Conf-Merijn-588-11.11-gcc64
-README-files/hpux/Conf-Merijn-588-11.23-gcc64
-README-files/hpux/Conf-Mike
-README-files/hpux/Conf-Roger
-README-files/hpux/libjava.eml
README-files/hpux/Makefile-Lincoln
README.64bit.txt
README.aix.txt
@@ -102,3 +86,5 @@ t/nchar_test_lib.pl
test.pl
Todo
typemap
+examples/ora_explain.pl
+t/00versions.t
View
2 MANIFEST.SKIP
@@ -15,3 +15,5 @@
^oracle/
^tags$
~$
+^\.git
+^xt
View
21 xt/manifest.t
@@ -0,0 +1,21 @@
+use strict;
+use warnings;
+
+use ExtUtils::Manifest qw/ fullcheck /;
+
+use Test::More tests => 1;
+
+my ( $missing, $extra ) = do {
+ local *STDERR;
+
+ # hush little baby, don't you cry
+ open STDERR, '>', \my $stderr;
+
+ fullcheck();
+};
+
+ok @$missing + @$extra == 0, 'manifest in sync' or do {
+ diag "missing files:\n", map { " \t $_\n " } @$missing if @$missing;
+ diag "extra files: \n", map { "\t$_\n" } @$extra if @$extra;
+};
+

0 comments on commit 5a921d6

Please sign in to comment.