Misc (#1026):
- fixed wrong Unix detection in Python automated test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3142 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/tests/pjsua/run.py b/tests/pjsua/run.py
index 90ed9e7..a73e906 100644
--- a/tests/pjsua/run.py
+++ b/tests/pjsua/run.py
@@ -93,6 +93,11 @@
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")