コード例 #1
0
ファイル: makedist.py プロジェクト: gitter-badger/sedona
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()
コード例 #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()
コード例 #3
0
ファイル: makedev.py プロジェクト: gitter-badger/sedona
  
  # 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")   

  # Run SVM tests
コード例 #4
0
    # 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")

    # Run SVM tests
コード例 #5
0
ファイル: makedev.py プロジェクト: vancepym/sedona-1.0
        raise env.BuildError("FATAL: makedev.py can only run on windows.")

    # make sedona.jar
    makesedona.compile()

    # make sedonac.jar
    makesedonac.compile()

    # make sedonacert.jar
    makesedonacert.compile()

    # make all kits
    compilekit.compile(env.src)

    # make windows svm
    makewinvm.compile()

    # 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: svm tests failed")