[liblouis-liblouisxml] [liblouis] r769 committed - When doing VPATH builds (such as in `make distcheck`) the binary for...

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 04 Sep 2012 15:18:30 +0000

Revision: 769
Author:   christian.egli@xxxxxxxxxxxxxx
Date:     Tue Sep  4 08:17:32 2012
Log: When doing VPATH builds (such as in `make distcheck`) the binary for
lou_checktable is not found. Just use a relative path to find it.

http://code.google.com/p/liblouis/source/detail?r=769

Modified:
 /trunk/ChangeLog
 /trunk/tests/check_all_tables.pl
 /trunk/tests/check_endless_loop.pl
 /trunk/tests/multiple_table_path.pl

=======================================
--- /trunk/ChangeLog    Tue Jul 10 06:24:40 2012
+++ /trunk/ChangeLog    Tue Sep  4 08:17:32 2012
@@ -1,3 +1,11 @@
+2012-09-04  Christian Egli  <christian.egli@xxxxxx>
+
+       * tests/check_all_tables.pl:
+       * tests/check_endless_loop.pl:
+       * tests/multiple_table_path.pl: When doing VPATH builds (such as
+       in `make distcheck`) the binary for lou_checktable is not found.
+       Just use a relative path to find it.
+
 2012-07-10  Christian Egli  <christian.egli@xxxxxx>

        * doc/liblouis.texi (How to Write Translation Tables): Document
=======================================
--- /trunk/tests/check_all_tables.pl    Fri Jul 20 08:20:40 2012
+++ /trunk/tests/check_all_tables.pl    Tue Sep  4 08:17:32 2012
@@ -37,7 +37,7 @@
     } else {
        die "cannot fork: $!" unless defined($pid);
        alarm $timeout;
-       exec ("lou_checktable $table --quiet");
+       exec ("../tools/lou_checktable $table --quiet");
        die "Exec of lou_checktable failed: $!";
     }
 }
=======================================
--- /trunk/tests/check_endless_loop.pl  Wed May 30 10:00:22 2012
+++ /trunk/tests/check_endless_loop.pl  Tue Sep  4 08:17:32 2012
@@ -16,6 +16,6 @@
$SIG{ALRM} = sub { die "lou_checktable on $table stuck in endless loop\n" };

 alarm 5;
-system("lou_checktable $table --quiet") == 0
+system("../tools/lou_checktable $table --quiet") == 0
     or die "lou_checktable on $table failed\n";
 alarm 0;
=======================================
--- /trunk/tests/multiple_table_path.pl Wed May 30 10:00:22 2012
+++ /trunk/tests/multiple_table_path.pl Tue Sep  4 08:17:32 2012
@@ -43,8 +43,8 @@

 # ensure existing tables are found
 foreach my $table (@tables) {
-    system("lou_checktable $table --quiet") == 0 or die;
+    system("../tools/lou_checktable $table --quiet") == 0 or die;
 }

 # ensure a non-existing table is not found
-system("lou_checktable nonexistent.ctb 2> /dev/null") != 0 or die;
+system("../tools/lou_checktable nonexistent.ctb 2> /dev/null") != 0 or die;
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouis] r769 committed - When doing VPATH builds (such as in `make distcheck`) the binary for... - liblouis