[Po4a-commits] "po4a/t 23-man.t,1.7,1.8"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Fri Jun 2 23:43:46 UTC 2006


Update of /cvsroot/po4a/po4a/t
In directory haydn:/tmp/cvs-serv23630/t

Modified Files:
	23-man.t 
Log Message:
Add a test for the mdoc format.


Index: 23-man.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/23-man.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- 23-man.t	18 Mar 2006 22:24:38 -0000	1.7
+++ 23-man.t	2 Jun 2006 23:43:44 -0000	1.8
@@ -111,7 +111,17 @@
   'doc'  => "translate this document",
 };
 
-use Test::More tests => 40; # $formats * $tests * 2 
+push @tests, {
+    'run'  => "LC_ALL=C perl ../po4a-gettextize -f #format# -m data-23/mdoc.1 -p tmp/mdoc.pot 2>/dev/null",
+    'test' => "diff -u $diff_po_flags  data-23/mdoc.pot tmp/mdoc.pot",
+    'doc'  => "gettextize well mdoc",
+}, {
+    'run'  => "perl ../po4a-translate -f #format# -m data-23/mdoc.1 -p data-23/mdoc.fr.po -l tmp/mdoc.fr -L ISO-8859-1",
+    'test' => "diff -u $diff_pod_flags data-23/mdoc.fr tmp/mdoc.fr",
+    'doc'  => "translate this document",
+};
+
+use Test::More tests => 44; # $formats * $tests * 2 
 
 foreach my $format (@formats) {
     for (my $i=0; $i<scalar @tests; $i++) {




More information about the Po4a-commits mailing list