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')
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")
def test_full(context): python("waf", "test_full")
def clean(context): python("waf", "clean")
def configure(context): if platform.system() == 'Darwin': context.env['CC'] = 'clang' context.env['CXX'] = 'clang++' python("waf", "configure", context.configure_args)
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')
def tests_normal(context): python("waf", "test") python("waf", "integrationtest")
def configure(context): if platform.system() == "Darwin": context.env["CC"] = "clang" context.env["CXX"] = "clang++" python("waf", "configure", context.configure_args)
def test(context): python("waf", "test")
def test(context): if context.env["OH_PLATFORM"] not in ['Linux-mipsel', 'Linux-ppc32']: python("waf", "test")
def test_full(context): if context.env["OH_PLATFORM"] != 'Linux-mipsel': python("waf", "test_full")
def install(context): python("waf", "install")
def integration_test(context): python("IntegrationTests/SuitePostBuild.py")
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 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 )
def build(context): python("waf") for solution in solutions: do_build(context, solution, "Build")
def configure(context): python("waf", "distclean"); python("waf", "configure", context.configure_args)