summaryrefslogtreecommitdiff
path: root/tests/pjsua/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pjsua/run.py')
-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")