示例#1
0
def test_full(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel']:
        if context.env["OH_PLATFORM"] == 'Windows-x86':
            python("dependencies/AnyPlatform/testharness/Test", "-p",
                   context.env["OH_PLATFORM"], "-b", context.env["BUILDDIR"],
                   "-m", "nightly.test")
        else:
            python('waf', 'test')
示例#2
0
def test(context):
    python("waf", "test")

    def run_test(test):
        prog = 'build/Test%(test)s/bin/%(debugmode)s/Test%(test)s.exe'
        scrp = 'build/Test%(test)s/bin/%(debugmode)s/%(test)sTestScript.txt'
        fmt = { 'test' : test, 'debugmode' : context.options.debugmode.title() }
        cli([prog % fmt, scrp % fmt])
    run_test('Topology1')
    run_test('Topology2')
    run_test('Topologym')
    run_test('Topology3')
    run_test('Topology4')
    run_test('StandardHouse')
    run_test('Zone')
示例#3
0
def build(context):
    python("waf", "build")
示例#4
0
def configure(context):
    python("waf", "configure", context.configure_args)
def integration_test(context):
    python("IntegrationTests/SuitePostBuild_OHMP.py")
def bundle(context):
    python("waf", "bundle")
def clean(context):
    shutil.rmtree( 'install', True )
    python("waf", "clean")
示例#8
0
def test_full(context):
    python("waf", "test_full")
示例#9
0
def clean(context):
    python("waf", "clean")
示例#10
0
def clean(context):
    shutil.rmtree( 'install', True )
    python("waf", "clean")
示例#11
0
def configure(context):
    if platform.system() == 'Darwin':
        context.env['CC']  = 'clang'
        context.env['CXX'] = 'clang++'
    python("waf", "configure", context.configure_args)
示例#12
0
def test_full(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel']:
        if context.env["OH_PLATFORM"]=='Windows-x86':
            python("dependencies/AnyPlatform/testharness/Test", "-p", context.env["OH_PLATFORM"], "-b", context.env["BUILDDIR"], "-m", "nightly.test")
        else:
            python('waf', 'test')
示例#13
0
def tests_normal(context):
    python("waf", "test")
    python("waf", "integrationtest")
示例#14
0
def configure(context):
    if platform.system() == "Darwin":
        context.env["CC"] = "clang"
        context.env["CXX"] = "clang++"
    python("waf", "configure", context.configure_args)
示例#15
0
def test(context):
    python("waf", "test")
示例#16
0
def test(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel', 'Linux-ppc32']:
        python("waf", "test")
示例#17
0
def test_full(context):
    if context.env["OH_PLATFORM"] != 'Linux-mipsel':
        python("waf", "test_full")
示例#18
0
def test_full(context):
    if context.env["OH_PLATFORM"] != 'Linux-mipsel':
        python("waf", "test_full")
示例#19
0
def test(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel', 'Linux-ppc32']:
        python("waf", "test")
示例#20
0
def install(context):
    python("waf", "install")
def configure(context):
    if platform.system() == 'Darwin':
        context.env['CC']  = 'clang'
        context.env['CXX'] = 'clang++'
    python("waf", "configure", context.configure_args)
示例#22
0
def integration_test(context):
    python("IntegrationTests/SuitePostBuild.py")
def build(context):
    python("waf", "build")
示例#24
0
def integration_test_full(context):
    python("IntegrationTests/SuiteLocal.py", context.integration_test_media_server, context.integration_test_dacp_server, context.integration_test_log_dir )
def install(context):
    python("waf", "install")
示例#26
0
def clean(context):
    python("waf", "clean")
    for solution in solutions:
        do_build(context, solution, "Clean")
def integration_test_full(context):
    python("IntegrationTests/SuiteLocal_OHMP.py", context.integration_test_media_server, context.integration_test_dacp_server, context.integration_test_log_dir )
示例#28
0
def build(context):
    python("waf")
    for solution in solutions:
        do_build(context, solution, "Build")
示例#29
0
def clean(context):
    python("waf", "clean")
def test(context):
    python("waf", "test")
示例#31
0
def bundle(context):
    python("waf", "bundle")
示例#32
0
def configure(context):
    python("waf", "configure", context.configure_args)
示例#33
0
def test_full(context):
    python("waf", "test_full")
示例#34
0
def configure(context):
    python("waf", "distclean");
    python("waf", "configure", context.configure_args)