r44078 - in /scripts/KGB: Makefile t/00-compile_scripts.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Sep 13 20:44:47 UTC 2009


Author: dmn
Date: Sun Sep 13 20:44:42 2009
New Revision: 44078

URL: http://svn.debian.org/wsvn/?sc=1&rev=44078
Log:
add compile_scripts test

needs to be run with PERL5LIB=lib

Added:
    scripts/KGB/t/00-compile_scripts.t
Modified:
    scripts/KGB/Makefile

Modified: scripts/KGB/Makefile
URL: http://svn.debian.org/wsvn/scripts/KGB/Makefile?rev=44078&op=diff
==============================================================================
--- scripts/KGB/Makefile (original)
+++ scripts/KGB/Makefile Sun Sep 13 20:44:42 2009
@@ -19,7 +19,7 @@
 	pod2man script/kgb-client > $(DESTDIR)/$(PREFIX)/share/man/man1/kgb-client.1
 
 test:
-	prove -l t
+	PERL5LIB=lib prove t
 	$(PERL) -c script/kgb-bot
 	$(PERL) -Ilib -c script/kgb-client
 	sh -n eg/post-commit

Added: scripts/KGB/t/00-compile_scripts.t
URL: http://svn.debian.org/wsvn/scripts/KGB/t/00-compile_scripts.t?rev=44078&op=file
==============================================================================
--- scripts/KGB/t/00-compile_scripts.t (added)
+++ scripts/KGB/t/00-compile_scripts.t Sun Sep 13 20:44:42 2009
@@ -1,0 +1,3 @@
+use Test::More;
+use Test::Compile;
+all_pl_files_ok();




More information about the Pkg-perl-cvs-commits mailing list