コード例 #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
ファイル: build_behaviour.py プロジェクト: fuzzy01/ohTopology
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
ファイル: build_behaviour.py プロジェクト: weeble/ohos
def tests_normal(context):
    python("waf", "test")
    python("waf", "integrationtest")
コード例 #14
0
ファイル: build_behaviour.py プロジェクト: openhome/ohNetmon
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
ファイル: build_behaviour.py プロジェクト: tml3nr/ohPlayer
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
ファイル: build_behaviour.py プロジェクト: fuzzy01/ohTopology
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
ファイル: build_behaviour.py プロジェクト: fuzzy01/ohTopology
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
ファイル: mkpkg_behaviour.py プロジェクト: weeble/ohos
def configure(context):
    python("waf", "distclean");
    python("waf", "configure", context.configure_args)