/external/chromium_org/tools/gyp/test/mac/ |
gyptest-sourceless-module.py | 16 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable 18 test.run_gyp('test.gyp', chdir='sourceless-module') 21 test.build('test.gyp', 'empty_bundle', chdir='sourceless-module') 22 test.built_file_must_not_exist( 26 test.build('test.gyp', 'resource_bundle', chdir='sourceless-module') 28 test.built_file_must_exist( 31 test.built_file_must_not_exist [all...] |
gyptest-type-envvars.py | 8 Test that MACH_O_TYPE etc are set correctly. 16 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable 18 test.run_gyp('test.gyp', chdir='type_envvars') 20 test.build('test.gyp', test.ALL, chdir='type_envvars') 22 # The actual test is done by postbuild scripts during |test.build()|. 24 test.pass_test( [all...] |
gyptest-unicode-settings.py | 17 test = TestGyp.TestGyp(formats=['xcode']) variable 18 test.run_gyp('test.gyp', chdir='unicode-settings') 19 test.build('test.gyp', test.ALL, chdir='unicode-settings') 20 test.pass_test()
|
/external/chromium_org/tools/gyp/test/make/ |
gyptest-dependencies.py | 14 test = TestGyp.TestGyp(formats=['make']) variable 16 test.run_gyp('dependencies.gyp') 18 test.build('dependencies.gyp', test.ALL) 20 deps_file = test.built_file_path(".deps/out/Default/obj.target/main/main.o.d") 21 test.must_contain(deps_file, "main.h") 24 test.build('dependencies.gyp', test.ALL) 26 test.pass_test()
|
/external/chromium_org/tools/gyp/test/msvs/external_builder/ |
gyptest-all.py | 20 test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all') variable 23 test.run_gyp('external.gyp') 24 test.build('external.gyp', target='external') 25 test.must_not_exist('external_builder.out') 26 test.must_exist('msbuild_rule.out') 27 test.must_exist('msbuild_action.out') 28 test.must_match('msbuild_rule.out', 'msbuild_rule.py hello.z a b c') 29 test.must_match('msbuild_action.out', 'msbuild_action.py x y z') 36 test.run_gyp('external.gyp') 37 test.build('external.gyp', target='external' [all...] |
/external/chromium_org/tools/gyp/test/msvs/list_excluded/ |
gyptest-all.py | 16 test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all') variable 22 test.run_gyp('hello_exclude.gyp') 25 if test.uses_msbuild: 26 test.must_not_contain('hello.vcxproj', 'hello_mac') 28 test.must_not_contain('hello.vcproj', 'hello_mac') 32 test.run_gyp('hello_exclude.gyp') 33 if test.uses_msbuild: 34 test.must_contain('hello.vcxproj', 'hello_mac') 36 test.must_contain('hello.vcproj', 'hello_mac') 42 test.run_gyp('hello_exclude.gyp' [all...] |
/external/chromium_org/tools/gyp/test/msvs/missing_sources/ |
gyptest-missing.py | 17 test = TestGyp.TestGyp(formats=['msvs', 'ninja'], workdir='workarea_all') variable 20 test.run_gyp('hello_missing.gyp') 25 test.run_gyp('hello_missing.gyp') 32 # Test to make sure GYP raises an exception (exit status 1). Since this will 37 test.run_gyp('hello_missing.gyp', status=1, stderr=None) 40 test.must_contain_any_line(test.stderr(), 43 test.pass_test()
|
/external/chromium_org/tools/gyp/test/msvs/shared_output/ |
gyptest-shared_output.py | 8 Test checking that IntermediateDirectory can be defined in terms of 17 # NOTE: This test really is vcbuild/msbuild specific (not applicable to windows 20 test = TestGyp.TestGyp(workdir='workarea_shared_output', formats=['msvs']) variable 22 test.run_gyp('hello.gyp') 23 test.set_configuration('Baz') 25 test.build('there/there.gyp', test.ALL) 26 test.must_exist(os.path.join(test.workdir, 'foo', 'there.exe')) 27 test.must_exist(os.path.join(test.workdir, 'foo', 'bar', 'there.obj') [all...] |
/external/chromium_org/tools/gyp/test/ninja/chained-dependency/ |
gyptest-chained-dependency.py | 16 # This test is Ninja-specific in that: 20 test = TestGyp.TestGyp(formats=['ninja']) variable 21 test.run_gyp('chained-dependency.gyp') 23 test.build('chained-dependency.gyp', 25 # The test passes if the .o file builds successfully. 26 test.pass_test()
|
/external/chromium_org/tools/gyp/test/ninja/use-custom-environment-files/ |
gyptest-use-custom-environment-files.py | 17 test = TestGyp.TestGyp(formats=['ninja']) variable 19 test.run_gyp('use-custom-environment-files.gyp', 23 if os.path.exists(test.built_file_path('environment.x86')): 24 test.fail_test() 25 if os.path.exists(test.built_file_path('environment.x64')): 26 test.fail_test() 28 test.pass_test()
|
/external/chromium_org/tools/gyp/test/prune_targets/ |
gyptest-prune-targets.py | 13 test = TestGyp.TestGyp() variable 22 }[test.format] 25 test.run_gyp('test1.gyp') 26 test.build('test2.gyp', 'lib1') 27 test.build('test2.gyp', 'lib2') 28 test.build('test2.gyp', 'lib3') 29 test.build('test2.gyp', 'lib_indirect') 30 test.build('test1.gyp', 'program1') 31 test.build('test1.gyp', 'program2') 32 test.build('test1.gyp', 'program3' [all...] |
/external/chromium_org/tools/gyp/test/restat/ |
gyptest-restat.py | 15 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable 17 test.run_gyp('restat.gyp', chdir='src') 20 test.relocate('src', chdir) 25 test.build('restat.gyp', 'dependent', chdir=chdir) 26 test.built_file_must_exist('side_effect', chdir=chdir) 27 os.remove(test.built_file_path('side_effect', chdir=chdir)) 28 test.build('restat.gyp', 'dependent', chdir=chdir) 29 test.built_file_must_not_exist('side_effect', chdir=chdir) 31 test.pass_test()
|
/external/chromium_org/tools/gyp/test/rules/ |
gyptest-all.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('no_action_with_rules_fails.gyp', chdir='src/noaction', status=1, 18 test.run_gyp('actions.gyp', chdir='src') 20 test.relocate('src', 'relocate/src') 22 test.build('actions.gyp', test.ALL, chdir='relocate/src') 30 if test.format == 'xcode': 34 test.run_built_executable('program', chdir=chdir, stdout=expect) 41 if test.format == 'xcode': 45 test.run_built_executable('program2', chdir=chdir, stdout=expect [all...] |
gyptest-default.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('actions.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 19 test.build('actions.gyp', chdir='relocate/src') 27 if test.format == 'xcode': 31 test.run_built_executable('program', chdir=chdir, stdout=expect) 38 if test.format == 'xcode': 42 test.run_built_executable('program2', chdir=chdir, stdout=expect) 44 test.must_match('relocate/src/subdir2/file1.out', 'Hello from file1.in\n') 45 test.must_match('relocate/src/subdir2/file2.out', 'Hello from file2.in\n' [all...] |
gyptest-special-variables.py | 14 test = TestGyp.TestGyp() variable 16 test.run_gyp('special-variables.gyp', chdir='src') 17 test.build('special-variables.gyp', test.ALL, chdir='src') 18 test.pass_test()
|
/external/chromium_org/tools/gyp/test/rules-dirname/ |
gyptest-dirname.py | 14 test = TestGyp.TestGyp(formats=['make', 'ninja', 'xcode']) variable 16 test.run_gyp('actions.gyp', chdir='src') 18 test.relocate('src', 'relocate/src') 20 test.build('actions.gyp', chdir='relocate/src') 26 if test.format == 'xcode': 30 test.run_built_executable('gencc_int_output', chdir=chdir, stdout=expect) 32 test.must_match('relocate/src/subdir/foo/bar/baz.printed', 34 test.must_match('relocate/src/subdir/a/b/c.printed', os.path.join('a', 'b')) 36 test.pass_test()
|
/external/chromium_org/tools/gyp/test/rules-rebuild/ |
gyptest-all.py | 14 test = TestGyp.TestGyp(workdir='workarea_all') variable 16 test.run_gyp('same_target.gyp', chdir='src') 18 test.relocate('src', 'relocate/src') 21 test.build('same_target.gyp', test.ALL, chdir='relocate/src') 29 test.run_built_executable('program', chdir='relocate/src', stdout=expect) 31 test.up_to_date('same_target.gyp', 'program', chdir='relocate/src') 34 test.sleep() 35 contents = test.read(['relocate', 'src', 'prog1.in']) 37 test.write(['relocate', 'src', 'prog1.in'], contents [all...] |
gyptest-default.py | 14 test = TestGyp.TestGyp(workdir='workarea_default') variable 16 test.run_gyp('same_target.gyp', chdir='src') 18 test.relocate('src', 'relocate/src') 21 test.build('same_target.gyp', chdir='relocate/src') 29 test.run_built_executable('program', chdir='relocate/src', stdout=expect) 31 test.up_to_date('same_target.gyp', 'program', chdir='relocate/src') 34 test.sleep() 35 contents = test.read(['relocate', 'src', 'prog1.in']) 37 test.write(['relocate', 'src', 'prog1.in'], contents) 39 test.build('same_target.gyp', chdir='relocate/src' [all...] |
/external/chromium_org/tools/gyp/test/rules-variables/ |
gyptest-rules-variables.py | 13 test = TestGyp.TestGyp(formats=['ninja']) variable 15 test.relocate('src', 'relocate/src') 17 test.run_gyp('variables.gyp', chdir='relocate/src') 19 test.build('variables.gyp', chdir='relocate/src') 21 test.run_built_executable('all_rule_variables', 26 test.pass_test()
|
/external/chromium_org/tools/gyp/test/same-gyp-name/ |
gyptest-all.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('all.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 19 test.build('all.gyp', test.ALL, chdir='relocate/src') 29 if test.format == 'xcode': 35 test.run_built_executable('program1', chdir=chdir1, stdout=expect1) 36 test.run_built_executable('program2', chdir=chdir2, stdout=expect2) 38 test.pass_test()
|
gyptest-default.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('all.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 19 test.build('all.gyp', chdir='relocate/src') 29 if test.format == 'xcode': 35 test.run_built_executable('program1', chdir=chdir1, stdout=expect1) 36 test.run_built_executable('program2', chdir=chdir2, stdout=expect2) 38 test.pass_test()
|
gyptest-library.py | 16 test = TestGyp.TestGyp() variable 18 test.run_gyp('test.gyp', chdir='library') 20 test.pass_test()
|
/external/chromium_org/tools/gyp/test/sibling/ |
gyptest-all.py | 12 test = TestGyp.TestGyp() variable 14 test.run_gyp('build/all.gyp', chdir='src') 16 test.build('build/all.gyp', test.ALL, chdir='src') 24 if test.format in ('make', 'ninja', 'cmake'): 27 if test.format == 'xcode': 29 test.run_built_executable('program1', 33 if test.format == 'xcode': 35 test.run_built_executable('program2', 39 test.pass_test( [all...] |
gyptest-relocate.py | 12 test = TestGyp.TestGyp() variable 14 test.run_gyp('build/all.gyp', chdir='src') 16 test.relocate('src', 'relocate/src') 18 test.build('build/all.gyp', test.ALL, chdir='relocate/src') 26 if test.format in ('make', 'ninja', 'cmake'): 29 if test.format == 'xcode': 31 test.run_built_executable('program1', 35 if test.format == 'xcode': 37 test.run_built_executable('program2' [all...] |
/external/chromium_org/tools/gyp/test/subdirectory/ |
gyptest-SYMROOT-all.py | 20 test = TestGyp.TestGyp() variable 22 test.run_gyp('prog1.gyp', '-Dset_symroot=1', '--depth=.', chdir='src') 24 test.relocate('src', 'relocate/src') 26 # Suppress the test infrastructure's setting SYMROOT on the command line. 27 test.build('prog1.gyp', test.ALL, SYMROOT=None, chdir='relocate/src') 29 test.run_built_executable('prog1', 32 test.run_built_executable('prog2', 36 test.pass_test()
|