diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-12-29 14:56:32 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-12-29 14:56:32 +0000 |
commit | 617a0442519d3c5602a4228a620fdd9e49ea33a3 (patch) | |
tree | 602426f0ff40843e384fc942ee36ee1e7902aaa7 /tests/cdash/main.py | |
parent | b18d5bc1e43b4c47f6433a608dfb625b2e7edf8d (diff) |
Added cdash framework for pjsip tests. Currently there is only test framework for GNU
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2399 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/cdash/main.py')
-rw-r--r-- | tests/cdash/main.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/cdash/main.py b/tests/cdash/main.py new file mode 100644 index 00000000..9f707bd7 --- /dev/null +++ b/tests/cdash/main.py @@ -0,0 +1,20 @@ +import sys + +if len(sys.argv)==1: + print "Usage: main.py cfg_file [cfg_site]" + print "Example:" + print " main.py cfg_gnu" + print " main.py cfg_gnu custom_cfg_site" + sys.exit(1) + + +args = [] +args.extend(sys.argv) +args.remove(args[1]) +args.remove(args[0]) + +cfg_file = __import__(sys.argv[1]) +builders = cfg_file.create_builder(args) + +for builder in builders: + builder.execute() |