diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2012-06-28 09:16:03 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2012-06-28 09:16:03 +0000 |
commit | 4b9c3d123588928f32790788779b0fee51bbe84b (patch) | |
tree | 1c17b9f0b07e5343de7f31475fd2c098b8f10b5e /tests/pjsua/runall.py | |
parent | 8fa7c55111900eeaf1ce86a38dbe574cc787ef28 (diff) |
Re #1523:
- runall.py: fix option parser
- run.py: avoid double newlines in logging
- mod_sipp.py: redirect sipp output to /dev/null & add sipp error string
- misc fixes on sipp scenarios, e.g: regex to get via branch, file rename.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4183 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/runall.py')
-rw-r--r-- | tests/pjsua/runall.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/pjsua/runall.py b/tests/pjsua/runall.py index 046a0cb6..1968ca92 100644 --- a/tests/pjsua/runall.py +++ b/tests/pjsua/runall.py @@ -93,7 +93,7 @@ while len(sys.argv): if len(sys.argv) > 1: resume_script=sys.argv[1] sys.argv.pop(0) - sys.argv.pop(1) + sys.argv.pop(0) else: sys.argv.pop(0) sys.stderr.write("Error: argument value required") @@ -119,15 +119,18 @@ while len(sys.argv): if len(sys.argv) > 1: shell_cmd = sys.argv[1] sys.argv.pop(0) - sys.argv.pop(1) + sys.argv.pop(0) else: sys.argv.pop(0) sys.stderr.write("Error: argument value required") sys.exit(1) + else: + # should be run.py options + break # Generate arguments for run.py -argv_st = " ".join(sys.argv) +argv_st = " ".join(sys.argv) + " " # Init vars fails_cnt = 0 |