Пример #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)
Пример #5
0
def integration_test(context):
    python("IntegrationTests/SuitePostBuild_OHMP.py")
Пример #6
0
def bundle(context):
    python("waf", "bundle")
Пример #7
0
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")
Пример #21
0
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")
Пример #23
0
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 )
Пример #25
0
def install(context):
    python("waf", "install")
Пример #26
0
def clean(context):
    python("waf", "clean")
    for solution in solutions:
        do_build(context, solution, "Clean")
Пример #27
0
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")
Пример #30
0
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)