/external/chromium_org/tools/gyp/test/cflags/ |
H A D | gyptest-cflags.py | 12 In this test, gyp and build both run in same local environment. 20 test = TestGyp.TestGyp(formats=FORMATS) variable 25 test.run_gyp('cflags.gyp') 26 test.build('cflags.gyp') 29 test.run_built_executable('cflags', stdout=expect) 30 test.run_built_executable('cflags_host', stdout=expect) 32 test.sleep() 36 test.run_gyp('cflags.gyp') 37 test.build('cflags.gyp') 40 test [all...] |
/external/chromium_org/tools/gyp/test/configurations/inheritance/ |
H A D | gyptest-duplicates.py | 13 test = TestGyp.TestGyp(format='gypd') variable 15 test.run_gyp('duplicates.gyp') 26 contents = test.read('duplicates.gypd').replace( 28 expect = test.read('duplicates.gypd.golden').replace('\r', '') 29 if not test.match(contents, expect): 31 test.diff(expect, contents, 'duplicates.gypd ') 32 test.fail_test() 34 test.pass_test()
|
H A D | gyptest-inheritance.py | 13 test = TestGyp.TestGyp() variable 15 if test.format == 'android': 16 # This test currently fails on android. Investigate why, fix the issues 17 # responsible, and reenable this test on android. See bug: 19 test.skip_test(message='Test fails on android. Fix and reenable.\n') 21 test.run_gyp('configurations.gyp') 23 test.set_configuration('Release') 24 test.build('configurations.gyp') 25 test.run_built_executable('configurations', 31 test [all...] |
/external/chromium_org/tools/gyp/test/configurations/invalid/ |
H A D | gyptest-configurations.py | 28 test = TestGyp.TestGyp() variable 31 test.run_gyp('%s.gyp' % test_key, status=1, stderr=None) 34 test.must_contain_all_lines(test.stderr(), expect) 36 test.pass_test()
|
/external/chromium_org/tools/gyp/test/configurations/target_platform/ |
H A D | gyptest-target_platform.py | 17 test.run_built_executable(exe, stdout=stdout) 26 test = TestGyp.TestGyp(formats=['msvs']) variable 28 test.run_gyp('configurations.gyp') 30 test.set_configuration('Debug|x64') 31 test.build('configurations.gyp', rebuild=True) 35 test.set_configuration('Debug|Win32') 36 test.build('configurations.gyp', rebuild=True) 38 test.run_built_executable('front_right', stdout=('right\n')) 40 test.pass_test()
|
/external/chromium_org/tools/gyp/test/copies/ |
H A D | gyptest-all.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('copies.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 19 test.build('copies.gyp', test.ALL, chdir='relocate/src') 21 test.must_match(['relocate', 'src', 'copies-out', 'file1'], 'file1 contents\n') 23 test.built_file_must_match('copies-out/file2', 27 test.built_file_must_match('copies-out/directory/file3', 30 test.built_file_must_match('copies-out/directory/file4', 33 test [all...] |
H A D | gyptest-default.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('copies.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 19 test.build('copies.gyp', chdir='relocate/src') 21 test.must_match(['relocate', 'src', 'copies-out', 'file1'], 'file1 contents\n') 23 test.built_file_must_match('copies-out/file2', 27 test.built_file_must_match('copies-out/directory/file3', 30 test.built_file_must_match('copies-out/directory/file4', 33 test.built_file_must_match('copies-out/directory/subdir/file5', 36 test [all...] |
H A D | gyptest-samedir.py | 15 test = TestGyp.TestGyp(formats=['!android']) variable 16 test.run_gyp('copies-samedir.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 18 test.build('copies-samedir.gyp', 'copies_samedir', chdir='relocate/src') 20 test.built_file_must_match('copies-out-samedir/file1', 24 test.built_file_must_match('copies-out-samedir/file2', 28 test.pass_test()
|
H A D | gyptest-slash.py | 13 test = TestGyp.TestGyp() variable 14 test.run_gyp('copies-slash.gyp', chdir='src') 15 test.relocate('src', 'relocate/src') 16 test.build('copies-slash.gyp', chdir='relocate/src') 18 test.built_file_must_match('copies-out-slash/directory/file3', 21 test.built_file_must_match('copies-out-slash/directory/file4', 24 test.built_file_must_match('copies-out-slash/directory/subdir/file5', 28 test.built_file_must_match('copies-out-slash-2/directory/file3', 31 test.built_file_must_match('copies-out-slash-2/directory/file4', 34 test [all...] |
H A D | gyptest-updir.py | 15 test = TestGyp.TestGyp(formats=['!android']) variable 16 test.run_gyp('copies-updir.gyp', chdir='src') 17 test.relocate('src', 'relocate/src') 18 test.build('copies-updir.gyp', 'copies_up', chdir='relocate/src') 20 test.built_file_must_match('../copies-out-updir/file1', 24 test.pass_test()
|
/external/chromium_org/tools/gyp/test/cxxflags/ |
H A D | gyptest-cxxflags.py | 12 In this test, gyp happens within a local environment, but build outside of it. 19 test = TestGyp.TestGyp(formats=FORMATS) variable 24 test.run_gyp('cxxflags.gyp') 26 test.build('cxxflags.gyp') 31 test.run_built_executable('cxxflags', stdout=expect) 33 test.sleep() 36 test.run_gyp('cxxflags.gyp') 38 test.build('cxxflags.gyp') 43 test.run_built_executable('cxxflags', stdout=expect) 45 test [all...] |
/external/chromium_org/tools/gyp/test/defines/ |
H A D | gyptest-define-override.py | 14 test = TestGyp.TestGyp() variable 18 if test.format == 'cmake': 26 test.run_gyp('defines.gyp', '-D', 'OS=fakeos') 27 test.build('defines.gyp', stderr=expect_stderr) 28 test.built_file_must_exist('fakeosprogram', type=test.EXECUTABLE) 30 os.remove(test.built_file_path('fakeosprogram', type=test.EXECUTABLE)) 33 test.run_gyp('defines.gyp') 34 test [all...] |
H A D | gyptest-defines-env-regyp.py | 17 test = TestGyp.TestGyp(formats=['make']) variable 21 test.run_gyp('defines.gyp') 29 test.build('defines.gyp') 37 test.run_built_executable('defines', stdout=expect) 41 test.sleep() 42 test.write('defines.gyp', test.read('defines-env.gyp')) 44 test.build('defines.gyp', test.ALL) 49 test [all...] |
H A D | gyptest-defines-env.py | 14 test = TestGyp.TestGyp() variable 19 test.run_gyp('defines-env.gyp') 23 test.build('defines-env.gyp') 28 test.run_built_executable('defines', stdout=expect) 35 test.run_gyp('defines-env.gyp', '-Dvalue=25') 39 test.sleep() 40 test.touch('defines.c') 41 test.build('defines-env.gyp') 46 test.run_built_executable('defines', stdout=expect) 53 test [all...] |
H A D | gyptest-defines.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('defines.gyp') 25 if test.format == 'cmake': 35 test.build('defines.gyp', stderr=expect_stderr) 37 test.run_built_executable('defines', stdout=expect) 39 test.pass_test()
|
/external/chromium_org/tools/gyp/test/defines-escaping/ |
H A D | gyptest-defines-escaping.py | 15 test = TestGyp.TestGyp() variable 21 r"""test_args='"Simple test of %s with a literal"'""") 22 test.run_gyp('defines-escaping.gyp') 26 test.build('defines-escaping.gyp') 29 Simple test of %s with a literal 31 test.run_built_executable('defines_escaping', stdout=expect) 38 test.run_gyp('defines-escaping.gyp') 42 test.sleep() 43 test.touch('defines-escaping.c') 44 test [all...] |
/external/chromium_org/tools/gyp/test/dependencies/ |
H A D | gyptest-lib-only.py | 16 test = TestGyp.TestGyp() variable 18 test.run_gyp('lib_only.gyp') 20 test.build('lib_only.gyp', test.ALL) 22 test.built_file_must_exist('a', type=test.STATIC_LIB) 29 if test.format == 'xcode': 30 test.built_file_must_not_exist('b', type=test.STATIC_LIB) 32 assert test [all...] |
H A D | gyptest-none-traversal.py | 16 test = TestGyp.TestGyp() variable 18 test.run_gyp('none_traversal.gyp') 20 test.build('none_traversal.gyp', test.ALL) 22 test.run_built_executable('needs_chain', stdout="2\n") 23 test.run_built_executable('doesnt_need_chain', stdout="3\n") 25 test.pass_test()
|
H A D | gyptest-sharedlib-linksettings.py | 17 test = TestGyp.TestGyp() variable 18 test.run_gyp('test.gyp', chdir=CHDIR) 19 test.build('test.gyp', test.ALL, chdir=CHDIR) 20 test.run_built_executable('program', stdout="1\n2\n", chdir=CHDIR) 21 test.pass_test()
|
/external/chromium_org/tools/gyp/test/dependency-copy/ |
H A D | gyptest-copy.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('copies.gyp', chdir='src') 17 test.build('copies.gyp', 'proj2', chdir='src') 19 test.run_built_executable('proj1', 22 test.run_built_executable('proj2', 26 test.pass_test()
|
/external/chromium_org/tools/gyp/test/empty-target/ |
H A D | gyptest-empty-target.py | 15 test = TestGyp.TestGyp() variable 16 test.run_gyp('empty-target.gyp') 17 test.build('empty-target.gyp', target='empty_target') 18 test.pass_test()
|
/external/chromium_org/tools/gyp/test/generator-output/ |
H A D | gyptest-actions.py | 14 test = TestGyp.TestGyp(formats=['!android']) variable 18 test.writable(test.workpath('actions'), False) 19 test.run_gyp('actions.gyp', 20 '--generator-output=' + test.workpath('gypfiles'), 24 test.writable(test.workpath('actions'), True) 26 test.relocate('actions', 'relocate/actions') 27 test.relocate('gypfiles', 'relocate/gypfiles') 29 test [all...] |
H A D | gyptest-copies.py | 15 test = TestGyp.TestGyp(formats=['!android']) variable 17 test.writable(test.workpath('copies'), False) 19 test.run_gyp('copies.gyp', 20 '--generator-output=' + test.workpath('gypfiles'), 24 test.writable(test.workpath('copies'), True) 26 test.relocate('copies', 'relocate/copies') 27 test.relocate('gypfiles', 'relocate/gypfiles') 29 test [all...] |
H A D | gyptest-relocate.py | 15 test = TestGyp.TestGyp(formats=['!android']) variable 17 test.writable(test.workpath('src'), False) 19 test.run_gyp('prog1.gyp', 21 '--generator-output=' + test.workpath('gypfiles'), 24 test.writable(test.workpath('src'), True) 26 test.relocate('src', 'relocate/src') 27 test.relocate('gypfiles', 'relocate/gypfiles') 29 test [all...] |
H A D | gyptest-rules.py | 14 test = TestGyp.TestGyp(formats=['!android']) variable 16 test.writable(test.workpath('rules'), False) 18 test.run_gyp('rules.gyp', 19 '--generator-output=' + test.workpath('gypfiles'), 23 test.writable(test.workpath('rules'), True) 25 test.relocate('rules', 'relocate/rules') 26 test.relocate('gypfiles', 'relocate/gypfiles') 28 test [all...] |