old_contents: #!/usr/bin/python
  
  import os
  
  root = os.path.join(os.path.dirname(__file__), '..')
  
  # set library path
  path = []
  for component in ['db', 'http', 'script']:
      path.append(os.path.join(root, 'src', component))
  os.environ['LD_LIBRARY_PATH'] = ':'.join(path)
  
  # run tests
  for component in ['db', 'http']:
      prog = os.path.join(os.path.dirname(__file__), component, 'qdjango-%s-tests' % component)
      os.system(prog)
  
new_contents: #!/usr/bin/python
  
  import os
  
  root = os.path.join(os.path.dirname(__file__), '..')
  
  # set library path
  path = []
  for component in ['db', 'http', 'script']:
      path.append(os.path.join(root, 'src', component))
  os.environ['LD_LIBRARY_PATH'] = ':'.join(path)
  
  # run tests
  TESTS = [
      'db/qdjango-db-tests',
      'http/qdjangohttpserver/tst_qdjangohttpserver',
      'http/qdjangourlresolver/tst_qdjangourlresolver',
      'script/qdjangoscript/tst_qdjangoscript',
  ]
  for test in TESTS:
      prog = os.path.join(os.path.dirname(__file__), test)
      os.system(prog)
  
subject: rework harness