[liblouis-liblouisxml] [liblouis] r886 committed - Exlude backup, patch and diff files from the table tests.

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 21 Dec 2012 08:28:27 +0000

Revision: 886
Author:   christian.egli@xxxxxxxxxxxxxx
Date:     Fri Dec 21 00:28:08 2012
Log:      Exlude backup, patch and diff files from the table tests.

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

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

=======================================
--- /trunk/ChangeLog    Thu Dec 20 06:38:43 2012
+++ /trunk/ChangeLog    Fri Dec 21 00:28:08 2012
@@ -1,3 +1,8 @@
+2012-12-21  Christian Egli  <christian.egli@xxxxxx>
+
+       * tests/check_all_tables.pl: Exlude backup, patch and diff files
+       from the table tests.
+
 2012-12-20  Christian Egli  <christian.egli@xxxxxx>

        * tables/Makefile.am (table_files):
=======================================
--- /trunk/tests/check_all_tables.pl    Thu Dec 20 06:38:43 2012
+++ /trunk/tests/check_all_tables.pl    Fri Dec 21 00:28:08 2012
@@ -25,15 +25,17 @@
 # get all the tables from the tables directory
 my @tables = glob("$tablesdir/*");
 # exclude hyphenation dicts
-@tables = grep(!/.dic/, @tables);
+@tables = grep(!/.+\.dic$/, @tables);
 # exclude Makefiles, README and shell scripts
-@tables = grep(!/Makefile|README|maketablelist.sh/, @tables);
+@tables = grep(!/Makefile|README|maketablelist\.sh/, @tables);
+# exclude backup and diff and patch files
+@tables = grep(!/.+~$|.+\.diff$|.+\.patch$/, @tables);
 # exclude tables that only work when included inside others
-@tables = grep(!/countries.cti|compress.ctb|corrections.ctb| hu-exceptionwords.cti|core.[cu]tb|-translation.ctb/, @tables); +@tables = grep(!/countries\.cti|compress\.ctb|corrections\.ctb| hu-exceptionwords\.cti|core\.[cu]tb|-translation\.ctb/, @tables);
 # exclude other oddballs
-@tables = grep(!/lang2table/, @tables);
+@tables = grep(!/lang2table$/, @tables);
 # exclude known bad tables
-@tables = grep(!/eo-g1.ctb/, @tables);
+@tables = grep(!/eo-g1\.ctb/, @tables);


 foreach my $table (@tables) {
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] r886 committed - Exlude backup, patch and diff files from the table tests. - liblouis