summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-04-20 09:52:54 +0000
committerBenny Prijono <bennylp@teluu.com>2010-04-20 09:52:54 +0000
commitb2428c8bed5f9459682199bdacc3c2d7ab549cb3 (patch)
tree218dcdf276d28eac8a0b3b677992be63b68bb68c
parent56ba4ad924f1114a950f69b9f8781d38734de5c9 (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
-rw-r--r--tests/pjsua/run.py5
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")