Example #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')
Example #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')
def build(context):
    python("waf", "build")
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")
Example #8
0
def test_full(context):
    python("waf", "test_full")
Example #9
0
def clean(context):
    python("waf", "clean")
Example #10
0
def clean(context):
    shutil.rmtree( 'install', True )
    python("waf", "clean")
Example #11
0
def configure(context):
    if platform.system() == 'Darwin':
        context.env['CC']  = 'clang'
        context.env['CXX'] = 'clang++'
    python("waf", "configure", context.configure_args)
Example #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')
Example #13
0
def tests_normal(context):
    python("waf", "test")
    python("waf", "integrationtest")
Example #14
0
def configure(context):
    if platform.system() == "Darwin":
        context.env["CC"] = "clang"
        context.env["CXX"] = "clang++"
    python("waf", "configure", context.configure_args)
Example #15
0
def test(context):
    python("waf", "test")
Example #16
0
def test(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel', 'Linux-ppc32']:
        python("waf", "test")
Example #17
0
def test_full(context):
    if context.env["OH_PLATFORM"] != 'Linux-mipsel':
        python("waf", "test_full")
Example #18
0
def test_full(context):
    if context.env["OH_PLATFORM"] != 'Linux-mipsel':
        python("waf", "test_full")
Example #19
0
def test(context):
    if context.env["OH_PLATFORM"] not in ['Linux-mipsel', 'Linux-ppc32']:
        python("waf", "test")
Example #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)
Example #22
0
def integration_test(context):
    python("IntegrationTests/SuitePostBuild.py")
def build(context):
    python("waf", "build")
Example #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")
Example #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 )
Example #28
0
def build(context):
    python("waf")
    for solution in solutions:
        do_build(context, solution, "Build")
Example #29
0
def clean(context):
    python("waf", "clean")
def test(context):
    python("waf", "test")
Example #31
0
def bundle(context):
    python("waf", "bundle")
Example #32
0
def configure(context):
    python("waf", "configure", context.configure_args)
Example #33
0
def test_full(context):
    python("waf", "test_full")
Example #34
0
def configure(context):
    python("waf", "distclean");
    python("waf", "configure", context.configure_args)