old_contents: # -*- coding: utf-8 -*-
  
  from autotest import PathInfo, run_single_test, globjoin
  
  import sys
  
  class RunTest:
      def __init__(self,f):
          self.description = f
          
      def __call__(self,f):
          key, errcode = run_single_test(self.description)
          assert key == 'good', '%s is not good: %s'%(f,key)
  
  def test():
      testfiles = globjoin(PathInfo.inpdir, '*.txt')
      results = {}
      for fname in testfiles:
          yield RunTest(fname), fname
  
new_contents: # -*- coding: utf-8 -*-
  
  from autotest import PathInfo, run_single_test, globjoin
  
  import sys
  
  class RunTest:
      def __init__(self,f):
          self.description = f
          
      def __call__(self,f):
          key, errcode = run_single_test(self.description)
          assert key == 'good', '%s is not good: %s'%(f,key)
  
  def test():
      testfiles = globjoin(PathInfo.inpdir, '*.txt')
      results = {}
      for fname in testfiles:
          yield RunTest(fname), fname
  
  def setup():
      PathInfo.add_coverage()
subject: Add coverage for hudson