Revision: 884 Author: christian.egli@xxxxxxxxxxxxxx Date: Thu Dec 20 06:32:33 2012Log: Check all tables by default and exclude only known exceptions, e.g. Makefiles, shell scripts, etc.
http://code.google.com/p/liblouis/source/detail?r=884 Modified: /trunk/ChangeLog /trunk/tests/check_all_tables.pl ======================================= --- /trunk/ChangeLog Wed Dec 19 03:40:39 2012 +++ /trunk/ChangeLog Thu Dec 20 06:32:33 2012 @@ -1,3 +1,8 @@ +2012-12-20 Christian Egli <christian.egli@xxxxxx> + + * tests/check_all_tables.pl: Check all files by default and + exclude only known exceptions, e.g. Makefiles, shell scripts, etc. + 2012-12-19 Christian Egli <christian.egli@xxxxxx> * gnulib/m4/unistd_h.m4: ======================================= --- /trunk/tests/check_all_tables.pl Tue Sep 4 08:17:32 2012 +++ /trunk/tests/check_all_tables.pl Thu Dec 20 06:32:33 2012 @@ -23,9 +23,18 @@ my $tablesdir = (split(',', $ENV{LOUIS_TABLEPATH}))[0]; # get all the tables from the tables directory -my @tables = glob("$tablesdir/*.[cu]tb $tablesdir/*.cti $tablesdir/*.dis"); -# filter tables that only work when included inside others-@tables = grep(!/countries.cti|compress.ctb|corrections.ctb|eo-g1.ctb| hu-exceptionwords.cti|core.[cu]tb|-translation.ctb/, @tables);
+my @tables = glob("$tablesdir/*"); +# exclude hyphenation dicts +@tables = grep(!/.dic/, @tables); +# exclude Makefiles, README and shell scripts +@tables = grep(!/Makefile|README|maketablelist.sh/, @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);
+# exclude other oddballs +@tables = grep(!/lang2table/, @tables); +# exclude known bad tables +@tables = grep(!/eo-g1.ctb|ru-ru-comp8/, @tables); + foreach my $table (@tables) { if (my $pid = fork) { For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com