/external/chromium_org/tools/gyp/test/configurations/inheritance/ |
gyptest-inheritance.py | 13 test = TestGyp.TestGyp() variable 15 test.run_gyp('configurations.gyp') 17 test.set_configuration('Release') 18 test.build('configurations.gyp') 19 test.run_built_executable('configurations', 25 test.set_configuration('Debug') 26 test.build('configurations.gyp') 27 test.run_built_executable('configurations', 33 test.pass_test()
|
/external/chromium_org/tools/gyp/test/configurations/invalid/ |
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/ |
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/ |
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.built_file_must_match('copies-out/directory/subdir/file5' [all...] |
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.built_file_must_match('copies-out/subdir/file6' [all...] |
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()
|
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.built_file_must_match('copies-out-slash-2/directory/subdir/file5' [all...] |
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/defines/ |
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.build('defines.gyp', stderr=expect_stderr [all...] |
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.run_built_executable('defines', stdout=expect [all...] |
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.run_gyp('defines-env.gyp', '--ignore-environment' [all...] |
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/ |
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) 34 # Test multiple comma-and-space-separated string literals. 38 test.run_gyp('defines-escaping.gyp') 42 test.sleep() 43 test.touch('defines-escaping.c' [all...] |
/external/chromium_org/tools/gyp/test/dependencies/ |
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.format in ('make', 'ninja' [all...] |
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()
|
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/ |
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/generator-output/ |
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'), 23 test.writable(test.workpath('actions'), True) 25 test.relocate('actions', 'relocate/actions') 26 test.relocate('gypfiles', 'relocate/gypfiles') 28 test.writable(test.workpath('relocate/actions'), False [all...] |
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'), 23 test.writable(test.workpath('copies'), True) 25 test.relocate('copies', 'relocate/copies') 26 test.relocate('gypfiles', 'relocate/gypfiles') 28 test.writable(test.workpath('relocate/copies'), False [all...] |
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.writable(test.workpath('relocate/src'), False [all...] |
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'), 22 test.writable(test.workpath('rules'), True) 24 test.relocate('rules', 'relocate/rules') 25 test.relocate('gypfiles', 'relocate/gypfiles') 27 test.writable(test.workpath('relocate/rules'), False [all...] |
gyptest-subdir2-deep.py | 16 test = TestGyp.TestGyp(formats=['!android']) variable 18 test.writable(test.workpath('src'), False) 20 test.writable(test.workpath('src/subdir2/deeper/build'), True) 22 test.run_gyp('deeper.gyp', 24 '--generator-output=' + test.workpath('gypfiles'), 27 test.build('deeper.gyp', test.ALL, chdir='gypfiles') 31 if test.format == 'xcode' [all...] |
gyptest-top-all.py | 16 test = TestGyp.TestGyp(formats=['!android']) variable 18 test.writable(test.workpath('src'), False) 20 test.run_gyp('prog1.gyp', 22 '--generator-output=' + test.workpath('gypfiles'), 25 test.writable(test.workpath('src/build'), True) 26 test.writable(test.workpath('src/subdir2/build'), True) 27 test.writable(test.workpath('src/subdir3/build'), True [all...] |
/external/chromium_org/tools/gyp/test/gyp-defines/ |
gyptest-multiple-values.py | 15 test = TestGyp.TestGyp() variable 18 test.run_gyp('defines.gyp') 19 test.build('defines.gyp') 20 test.must_contain('action.txt', 'value3') 25 test.run_gyp('defines.gyp') 26 if test.format == 'msvs' and not test.uses_msbuild: 29 test.build('defines.gyp', rebuild=True) 30 elif test.format == 'android': 34 test.unlink('action.txt' [all...] |
gyptest-regyp.py | 17 test = TestGyp.TestGyp(formats=['make']) variable 20 test.run_gyp('defines.gyp') 21 test.build('defines.gyp') 25 test.must_contain('action.txt', 'repeated_value') 28 test.must_not_contain( 30 test.must_contain('Makefile', '"-Dkey=value1" "-Dkey=repeated_value"') 34 test.sleep() 37 test.build('defines.gyp') 38 test.must_contain('action.txt', 'repeated_value') 40 test.pass_test( [all...] |