From b2428c8bed5f9459682199bdacc3c2d7ab549cb3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 20 Apr 2010 09:52:54 +0000 Subject: 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 --- tests/pjsua/run.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/pjsua/run.py') 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") -- cgit v1.2.3