/[escript]/branches/4.0fordebian/SConstruct
ViewVC logotype

Diff of /branches/4.0fordebian/SConstruct

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

revision 2234 by jfenwick, Fri Jan 30 05:24:02 2009 UTC revision 2235 by jfenwick, Tue Feb 3 01:47:47 2009 UTC
# Line 624  if not env['usempi']: Execute(Delete(env Line 624  if not env['usempi']: Execute(Delete(env
624    
625  ############ Build the subdirectories ##########################  ############ Build the subdirectories ##########################
626    
627    from grouptest import *
628    
629    TestGroups=[]
630    
631  Export(  Export(
632    ["env",    ["env",
633     "env_mpi",     "env_mpi",
634     "clone_env",     "clone_env",
635     "IS_WINDOWS_PLATFORM"     "IS_WINDOWS_PLATFORM",
636       "TestGroups"
637     ]     ]
638    )    )
639    
# Line 646  env.SConscript(dirs = ['pythonMPI/src'], Line 651  env.SConscript(dirs = ['pythonMPI/src'],
651  env.SConscript(dirs = ['scripts'], build_dir='build/$PLATFORM/scripts', duplicate=0)  env.SConscript(dirs = ['scripts'], build_dir='build/$PLATFORM/scripts', duplicate=0)
652  env.SConscript(dirs = ['paso/profiling'], build_dir='build/$PLATFORM/paso/profiling', duplicate=0)  env.SConscript(dirs = ['paso/profiling'], build_dir='build/$PLATFORM/paso/profiling', duplicate=0)
653    
654    
655  ############ Remember what optimizations we used ###############  ############ Remember what optimizations we used ###############
656    
657  remember_list = []  remember_list = []
# Line 719  env.Alias('all_tests', ['install_all', ' Line 725  env.Alias('all_tests', ['install_all', '
725    
726  env.Alias('docs', ['examples_tarfile', 'examples_zipfile', 'api_epydoc', 'api_doxygen', 'guide_pdf', 'guide_html'])  env.Alias('docs', ['examples_tarfile', 'examples_zipfile', 'api_epydoc', 'api_doxygen', 'guide_pdf', 'guide_html'])
727    
728    if not IS_WINDOWS_PLATFORM:
729       try:
730        utest=open("utest.sh","w")
731        utest.write(makeHeader())
732        for tests in TestGroups:
733            utest.write(tests.makeString())
734        utest.close()
735        print "utest.sh written"
736       except IOError:
737        print "Error attempting to write unittests file."
738        sys.exit(1)
739    

Legend:
Removed from v.2234  
changed lines
  Added in v.2235

  ViewVC Help
Powered by ViewVC 1.1.26