message: Improve the enhancement : avoid TEST_DIR replacement for each tests
diff: @@ -3,7 +3,7 @@ from os import path
  from pprint import pprint
  import unittest
  -TEST_DIR = path.dirname(__file__)
  +TEST_DIR = path.abspath(path.dirname(__file__))
  BASE_DIR = path.join(TEST_DIR, "..")
  sys.path.insert(1, path.join(BASE_DIR, "dist"))
  @@ -12,9 +12,6 @@ import hdlConvertor
  def dumpFile(fname, language):
  f = path.join(BASE_DIR, "tests/", fname)
  - global TEST_DIR
  - if TEST_DIR == '':
  - TEST_DIR = '.'
  res = hdlConvertor.parse(f, language, [TEST_DIR], debug=True)
  return f, res
  