[liblouis-liblouisxml] [liblouis] r640 committed - Just some tidy up of runharness.py.

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 21 May 2012 16:03:34 +0000

Revision: 640
Author:   mwhapples@xxxxxxxxx
Date:     Mon May 21 09:03:25 2012
Log:      Just some tidy up of runharness.py.

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

Modified:
 /trunk/tests/runHarness.py

=======================================
--- /trunk/tests/runHarness.py  Mon May 21 08:45:58 2012
+++ /trunk/tests/runHarness.py  Mon May 21 09:03:25 2012
@@ -33,7 +33,6 @@
 from louis import translate
from louis import noContractions, compbrlAtCursor, dotsIO, comp8Dots, pass1Only, compbrlLeftCursor, otherTrans, ucBrl
 from glob import iglob
-from os.path import basename

 modes = {
     'noContractions': noContractions,
@@ -98,16 +97,12 @@
     harness_dir = os.environ['HARNESS_DIR']
 else:
     # we are not invoked via the Makefile, i.e. we have to set up the
-    # paths (PYTHONPATH and LOUIS_TABLEPATH) manually.
+    # paths (LOUIS_TABLEPATH) manually.
     harness_dir = "harness"
-    # make sure the harness modules are found in the harness
-    # directory, i.e. insert the harness directory into the module
-    # search path
-    # sys.path.insert(1, harness_dir)
     # make sure local test braille tables are found
     os.environ['LOUIS_TABLEPATH'] = 'tables'

-# Process all *_harness.py files in the harness directory.
+# Process all *_harness.txt files in the harness directory.

 for harness in iglob(os.path.join(harness_dir, '*_harness.txt')):
     try:
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] r640 committed - Just some tidy up of runharness.py. - liblouis