diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-04-20 09:52:54 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-04-20 09:52:54 +0000 |
commit | b2428c8bed5f9459682199bdacc3c2d7ab549cb3 (patch) | |
tree | 218dcdf276d28eac8a0b3b677992be63b68bb68c /tests/pjsua | |
parent | 56ba4ad924f1114a950f69b9f8781d38734de5c9 (diff) |
Misc (#1026):
- fixed wrong Unix detection in Python automated test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3142 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua')
-rw-r--r-- | tests/pjsua/run.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pjsua/run.py b/tests/pjsua/run.py index 90ed9e7e..a73e9068 100644 --- a/tests/pjsua/run.py +++ b/tests/pjsua/run.py @@ -93,6 +93,11 @@ if G_EXE == "": print "Unable to find ../../../build.mak. Please build pjsip first" sys.exit(1) G_INUNIX = True +else: + if sys.platform.lower().find("win32")!=-1 or sys.platform.lower().find("microsoft")!=-1: + G_INUNIX = False + else: + G_INUNIX = True G_EXE = G_EXE.rstrip("\n\r \t") |