Searched defs:test (Results 276 - 300 of 3629) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/tools/gyp/test/cflags/
H A Dgyptest-cflags.py12 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 Dgyptest-duplicates.py13 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 Dgyptest-inheritance.py13 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 Dgyptest-configurations.py28 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 Dgyptest-target_platform.py17 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 Dgyptest-all.py13 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 Dgyptest-default.py13 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 Dgyptest-samedir.py15 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 Dgyptest-slash.py13 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 Dgyptest-updir.py15 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 Dgyptest-cxxflags.py12 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 Dgyptest-define-override.py14 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 Dgyptest-defines-env-regyp.py17 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 Dgyptest-defines-env.py14 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 Dgyptest-defines.py13 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 Dgyptest-defines-escaping.py15 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 Dgyptest-lib-only.py16 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 Dgyptest-none-traversal.py16 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 Dgyptest-sharedlib-linksettings.py17 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 Dgyptest-copy.py13 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 Dgyptest-empty-target.py15 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 Dgyptest-actions.py14 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 Dgyptest-copies.py15 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 Dgyptest-relocate.py15 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 Dgyptest-rules.py14 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...]

Completed in 404 milliseconds

<<11121314151617181920>>