[Po4a-commits] "po4a/t 06-addendums.t,1.1,1.2"
Denis Barbier
barbier-guest at alioth.debian.org
Thu Jan 21 00:14:20 UTC 2010
- Previous message: [Po4a-commits] "po4a/t/data-06 Titles.asciidoc, NONE, 1.1 Titles.trans.add1, NONE, 1.1 Titles.trans.add123, NONE, 1.1 Titles.trans.add13, NONE, 1.1 addendum1, NONE, 1.1 addendum123.list, NONE, 1.1 addendum123.list2, NONE, 1.1 addendum2, NONE, 1.1 addendum3, NONE, 1.1"
- Next message: [Po4a-commits] "po4a/t/data-06 test0.conf, NONE, 1.1 test1.conf, NONE, 1.1 test2.conf, NONE, 1.1 test3.conf, NONE, 1.1 test4.conf, NONE, 1.1"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/po4a/po4a/t
In directory alioth:/tmp/cvs-serv2902
Modified Files:
06-addendums.t
Log Message:
* t/06-addendums.t: Add similar tests when calling po4a instead of po4a-translate
Index: 06-addendums.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/06-addendums.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 06-addendums.t 20 Jan 2010 23:22:41 -0000 1.1
+++ 06-addendums.t 21 Jan 2010 00:14:18 -0000 1.2
@@ -45,7 +45,37 @@
'doc' => 'translate with recursive @addendum'
};
-use Test::More tests => 10; # tests * (run+validity)
+push @tests, {
+ 'run' => 'perl ../po4a -f data-06/test0.conf',
+ 'test'=> 'diff -U 50 data-06/Titles.trans.add123 tmp/Titles.trans',
+ 'doc' => '(po4a) translate with addendum1, 2 and 3'
+ };
+
+push @tests, {
+ 'run' => 'perl ../po4a -f data-06/test1.conf',
+ 'test'=> 'diff -U 50 data-06/Titles.trans.add123 tmp/Titles.trans',
+ 'doc' => '(po4a) translate with @addendum'
+ };
+
+push @tests, {
+ 'run' => 'perl ../po4a -f data-06/test2.conf',
+ 'test'=> 'diff -U 50 data-06/Titles.trans.add13 tmp/Titles.trans',
+ 'doc' => '(po4a) translate with !addendum'
+ };
+
+push @tests, {
+ 'run' => 'perl ../po4a -f data-06/test3.conf',
+ 'test'=> 'diff -U 50 data-06/Titles.asciidoc tmp/Titles.trans',
+ 'doc' => '(po4a) translate with non-existing ?addendum'
+ };
+
+push @tests, {
+ 'run' => 'perl ../po4a -f data-06/test4.conf',
+ 'test'=> 'diff -U 50 data-06/Titles.trans.add1 tmp/Titles.trans',
+ 'doc' => '(po4a) translate with recursive @addendum'
+ };
+
+use Test::More tests => 20; # tests * (run+validity)
for (my $i=0; $i<scalar @tests; $i++) {
chdir "t" || die "Can't chdir to my test directory";
- Previous message: [Po4a-commits] "po4a/t/data-06 Titles.asciidoc, NONE, 1.1 Titles.trans.add1, NONE, 1.1 Titles.trans.add123, NONE, 1.1 Titles.trans.add13, NONE, 1.1 addendum1, NONE, 1.1 addendum123.list, NONE, 1.1 addendum123.list2, NONE, 1.1 addendum2, NONE, 1.1 addendum3, NONE, 1.1"
- Next message: [Po4a-commits] "po4a/t/data-06 test0.conf, NONE, 1.1 test1.conf, NONE, 1.1 test2.conf, NONE, 1.1 test3.conf, NONE, 1.1 test4.conf, NONE, 1.1"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Po4a-commits
mailing list