15 |
EnsureSConsVersion(0,96,91) |
EnsureSConsVersion(0,96,91) |
16 |
EnsurePythonVersion(2,3) |
EnsurePythonVersion(2,3) |
17 |
|
|
18 |
import sys, os, re, socket |
import sys, os, re, socket, platform |
19 |
|
|
20 |
# Add our extensions |
# Add our extensions |
21 |
if os.path.isdir('scons'): sys.path.append('scons') |
if os.path.isdir('scons'): sys.path.append('scons') |
737 |
if not IS_WINDOWS_PLATFORM: |
if not IS_WINDOWS_PLATFORM: |
738 |
try: |
try: |
739 |
utest=open("utest.sh","w") |
utest=open("utest.sh","w") |
740 |
utest.write(GroupTest.makeHeader()) |
build_platform=os.name #Sometimes Mac python says it is posix |
741 |
|
if (build_platform=='posix') and platform.system()=="Darwin": |
742 |
|
build_platform='darwin' |
743 |
|
utest.write(GroupTest.makeHeader(build_platform)) |
744 |
for tests in TestGroups: |
for tests in TestGroups: |
745 |
utest.write(tests.makeString()) |
utest.write(tests.makeString()) |
746 |
utest.close() |
utest.close() |