Ejemplo n.º 1
0
def compile():
  print "====== makedist.compile ======"
  # make sedona.jar
  makesedona.compile()

  # make sedonac.jar
  makesedonac.compile()

  # make all kits
  compilekit.compile(env.kits, ["-doc", "-outDir", env.build])

  # make docs
  docOut = os.path.join(env.build, "doc")
  fileutil.cpdir(env.doc, docOut)
  compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"])

  # Make Sedona VM (svm)
  if os.name == "posix": # unix, OSX
    makeunixvm.main([])
  else: # win32
    makewinvm.compile()
Ejemplo n.º 2
0
def compile():
    print "====== makedist.compile ======"
    # make sedona.jar
    makesedona.compile()

    # make sedonac.jar
    makesedonac.compile()

    # make all kits
    compilekit.compile(env.kits, ["-doc", "-outDir", env.build])

    # make docs
    docOut = os.path.join(env.build, "doc")
    fileutil.cpdir(env.doc, docOut)
    compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"])

    # Make Sedona VM (svm)
    if os.name == "posix":  # unix, OSX
        makeunixvm.main([])
    else:  # win32
        makewinvm.compile()
Ejemplo n.º 3
0
  if status:
    raise env.BuildError("FATAL: makesedonacert failed")   
  
  # Make all kits
  compilekit.compile(env.kits, ["-outDir", env.build])

  # Make windows test scode (or scode specified on cmd line)
  compilekit.compile(options.scode)
  
  # Make windows test scode
  if options.app:
    compilekit.compile(options.app)

  # Make Sedona VM (svm)
  if os.name == "posix": # unix, OSX
    status = makeunixvm.main([])
  else: # win32
    status = makewinvm.compile()
  if status:
    raise env.BuildError("FATAL: make svm failed")

  # Run sedonac tests
  if run_sc:
    print "\n\n"
    print "  ---------------------------------------------------------"
    print "  -------------------- Testing sedonac --------------------"
    print "  ---------------------------------------------------------"
    print "\n\n"
    status = os.system(env.sedonacExe + " -test")
    if status:
      raise env.BuildError("FATAL: sedonac tests failed")   
Ejemplo n.º 4
0
    if status:
        raise env.BuildError("FATAL: makesedonacert failed")

    # Make all kits
    compilekit.compile(env.kits, ["-outDir", env.build])

    # Make windows test scode (or scode specified on cmd line)
    compilekit.compile(options.scode)

    # Make windows test scode
    if options.app:
        compilekit.compile(options.app)

    # Make Sedona VM (svm)
    if os.name == "posix":  # unix, OSX
        status = makeunixvm.main([])
    else:  # win32
        status = makewinvm.compile()
    if status:
        raise env.BuildError("FATAL: make svm failed")

    # Run sedonac tests
    if run_sc:
        print "\n\n"
        print "  ---------------------------------------------------------"
        print "  -------------------- Testing sedonac --------------------"
        print "  ---------------------------------------------------------"
        print "\n\n"
        status = os.system(env.sedonacExe + " -test")
        if status:
            raise env.BuildError("FATAL: sedonac tests failed")
Ejemplo n.º 5
0
# Main
if __name__ == '__main__':
  # make sedona.jar  
  makesedona.compile()
  
  # make sedonac.jar  
  makesedonac.compile()

  # make sedonacert.jar
  makesedonacert.compile()
  
  # make all kits
  compilekit.compile(env.src)

  # make unix svm
  makeunixvm.main([])
  
  # make windows test scode
  #compilekit.compile(os.path.join(env.scode, "x86-test.xml"))  
  
  # run sedonac tests
  #status = os.system(env.sedonacExe + " -test")
  #if status:
  #  raise env.BuildError("FATAL: sedonac tests failed")   

  # run svm tests
#  status = os.system(env.svmExe + " " + os.path.join(env.scode, "x86-test.scode") + " -test")
#  if status:
#    raise env.BuildError("FATAL: sedonac tests failed")