# -*- coding: utf-8 -*-
# $Id: runtests 1634 2013-04-12 15:36:36Z amelung $
#
# Copyright (c) 2007-2011 Otto-von-Guericke-Universität Magdeburg
#
# This file is part of ECSpooler.
"""
Runs a simgle test suite given as command line parameter.
"""
# add parent directory to the system path
# change dir to test dir
"""
"""
print >> sys.stdout, 'Usage: runtests TESTFILE.py'
"""
"""
try:
# print help information and exit:
usage()
sys.exit(2)
usage()
sys.exit(2)
else:
test = args[0]
mName = test[:-3]
m = __import__(mName)
print >> sys.stdout, m.__name__
#log.info(m.__name__)
else:
#log.info('%s: no test suite found.' % m.__name__ )
# -- Main ---------------------------------------------------------------------
if __name__ == "__main__":
main()