/[escript]/branches/inv2jf/SConstruct
ViewVC logotype

Diff of /branches/inv2jf/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2275 by jfenwick, Tue Feb 17 01:22:48 2009 UTC revision 2276 by jfenwick, Tue Feb 17 06:21:31 2009 UTC
# Line 15  Line 15 
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')
# Line 737  env.Alias('docs', ['examples_tarfile', ' Line 737  env.Alias('docs', ['examples_tarfile', '
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()

Legend:
Removed from v.2275  
changed lines
  Added in v.2276

  ViewVC Help
Powered by ViewVC 1.1.26