Searched refs:test (Results 326 - 350 of 6019) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/tools/gyp/test/include_dirs/
H A Dgyptest-all.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('includes.gyp', chdir='src')
17 test.relocate('src', 'relocate/src')
19 test.build('includes.gyp', test.ALL, chdir='relocate/src')
28 test.run_built_executable('includes', stdout=expect, chdir='relocate/src')
30 if test.format == 'xcode':
41 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir)
43 test.pass_test()
H A Dgyptest-default.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('includes.gyp', chdir='src')
17 test.relocate('src', 'relocate/src')
19 test.build('includes.gyp', test.ALL, chdir='relocate/src')
28 test.run_built_executable('includes', stdout=expect, chdir='relocate/src')
30 if test.format == 'xcode':
41 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir)
43 test.pass_test()
/external/chromium_org/tools/gyp/test/mac/
H A Dgyptest-framework-headers.py17 test = TestGyp.TestGyp(formats=['xcode']) variable
20 test.run_gyp('test.gyp', chdir=CHDIR)
23 test.build('test.gyp', 'test_framework_headers_framework', chdir=CHDIR)
25 test.built_file_must_exist(
28 test.built_file_must_exist(
32 test.build('test.gyp', 'test_framework_headers_static', chdir=CHDIR)
34 test
[all...]
H A Dgyptest-loadable-module-bundle-product-extension.py19 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable
22 test.run_gyp('test.gyp', chdir=CHDIR)
23 test.build('test.gyp', test.ALL, chdir=CHDIR)
25 test.must_exist(test.built_file_path('Collide.foo', chdir=CHDIR))
26 test.must_exist(test
[all...]
H A Dgyptest-non-strs-flattened-to-env.py17 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable
22 test.run_gyp('test.gyp', chdir=CHDIR)
23 test.build('test.gyp', test.ALL, chdir=CHDIR)
24 info_plist = test.built_file_path(INFO_PLIST_PATH, chdir=CHDIR)
25 test.must_exist(info_plist)
26 test.must_contain(info_plist, '''\
29 test
[all...]
H A Dgyptest-rebuild.py16 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable
19 test.run_gyp('test.gyp', chdir=CHDIR)
21 test.build('test.gyp', 'test_app', chdir=CHDIR)
24 test.touch('rebuild/main.c')
25 test.build('test.gyp', 'test_app', chdir=CHDIR)
27 test.up_to_date('test
[all...]
H A Dgyptest-xcode-env-order.py18 test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) variable
23 test.run_gyp('test.gyp', chdir=CHDIR)
24 test.build('test.gyp', test.ALL, chdir=CHDIR)
27 test.built_file_must_exist('Test-copy-brace/main.c', chdir=CHDIR)
28 test.built_file_must_exist('Test-copy-paren/main.c', chdir=CHDIR)
29 test.built_file_must_exist('Test-copy-bare/main.c', chdir=CHDIR)
32 test
[all...]
/external/chromium_org/tools/gyp/test/ninja/use-console/
H A Dgyptest-use-console.py13 test = TestGyp.TestGyp(formats=['ninja']) variable
15 test.run_gyp('use-console.gyp')
17 no_pool = open(test.built_file_path('obj/no_pool.ninja')).read()
19 test.fail_test()
21 action_pool = open(test.built_file_path('obj/action_pool.ninja')).read()
23 test.fail_test()
25 rule_pool = open(test.built_file_path('obj/rule_pool.ninja')).read()
27 test.fail_test()
29 test.pass_test()
/external/chromium_org/tools/gyp/test/restat/
H A Dgyptest-restat.py15 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/same-gyp-name/
H A Dgyptest-all.py13 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()
/external/chromium_org/tools/gyp/test/same-source-file-name/
H A Dgyptest-static.py17 test = TestGyp.TestGyp() variable
22 test.run_gyp('double-static.gyp', chdir='src', status=1, stderr=None)
24 if ((test.format == 'make' and sys.platform == 'darwin') or
25 (test.format == 'msvs' and
27 test.run_gyp('double-static.gyp', '--no-duplicate-basename-check',
30 test.run_gyp('double-static.gyp', '--no-duplicate-basename-check',
32 test.build('double-static.gyp', test.ALL, chdir='src')
34 test.pass_test()
/external/chromium_org/tools/gyp/test/subdirectory/
H A Dgyptest-subdir-all.py18 test = TestGyp.TestGyp(formats=['!ninja', '!android', '!cmake']) variable
20 test.run_gyp('prog1.gyp', chdir='src')
22 test.relocate('src', 'relocate/src')
25 target = test.ALL
27 test.build('prog2.gyp', target, chdir=chdir)
29 test.built_file_must_not_exist('prog1', type=test.EXECUTABLE, chdir=chdir)
31 test.run_built_executable('prog2',
35 test.pass_test()
/external/chromium_org/tools/gyp/test/variables/commands/
H A Dgyptest-commands-repeated.py14 test = TestGyp.TestGyp(format='gypd') variable
16 expect = test.read('commands-repeated.gyp.stdout').replace('\r\n', '\n')
18 test.run_gyp('commands-repeated.gyp',
31 contents = test.read('commands-repeated.gypd').replace('\r\n', '\n')
32 expect = test.read('commands-repeated.gypd.golden').replace('\r\n', '\n')
33 if not test.match(contents, expect):
35 test.diff(expect, contents, 'commands-repeated.gypd ')
36 test.fail_test()
38 test.pass_test()
H A Dgyptest-commands.py15 test = TestGyp.TestGyp(format='gypd') variable
17 expect = test.read('commands.gyp.stdout').replace('\r', '')
19 test.run_gyp('commands.gyp',
32 contents = test.read('commands.gypd').replace('\r', '')
33 expect = test.read('commands.gypd.golden').replace('\r', '')
34 if not test.match(contents, expect):
36 test.diff(expect, contents, 'commands.gypd ')
37 test.fail_test()
39 test.pass_test()
/external/chromium_org/tools/gyp/test/win/
H A Dgyptest-cl-optimizations.py16 test = TestGyp.TestGyp(formats=['ninja']) variable
19 test.run_gyp('optimizations.gyp', chdir=CHDIR)
25 ninja_file = test.built_file_path('obj/test_opt_off.ninja', chdir=CHDIR)
26 test.must_contain(ninja_file, 'cflags = /Od')
28 ninja_file = test.built_file_path('obj/test_opt_lev_size.ninja', chdir=CHDIR)
29 test.must_contain(ninja_file, 'cflags = /O1')
31 ninja_file = test.built_file_path('obj/test_opt_lev_speed.ninja', chdir=CHDIR)
32 test.must_contain(ninja_file, 'cflags = /O2')
34 ninja_file = test.built_file_path('obj/test_opt_lev_max.ninja', chdir=CHDIR)
35 test
[all...]
H A Dgyptest-link-large-address-aware.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
19 test.run_gyp('large-address-aware.gyp', chdir=CHDIR)
20 test.build('large-address-aware.gyp', test.ALL, chdir=CHDIR)
23 return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
29 test.fail_test()
33 test.fail_test()
35 test.pass_test()
H A Dgyptest-link-tsaware.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
19 test.run_gyp('tsaware.gyp', chdir=CHDIR)
20 test.build('tsaware.gyp', test.ALL, chdir=CHDIR)
23 return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
27 test.fail_test()
31 test.fail_test()
33 test.pass_test()
H A Dgyptest-macro-targetname.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
19 test.run_gyp('targetname.gyp', chdir=CHDIR)
20 test.build('targetname.gyp', test.ALL, chdir=CHDIR)
21 test.built_file_must_exist('test_targetname_plus_something1.exe',
23 test.built_file_must_exist(
26 test.built_file_must_exist('prod_name_plus_something3.exe', chdir=CHDIR)
27 test.built_file_must_exist('prod_prefixprod_name_plus_something4.exe',
29 test.pass_test()
H A Dgyptest-cl-warning-level.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
19 test.run_gyp('warning-level.gyp', chdir=CHDIR)
27 test.build('warning-level.gyp', 'test_wl1_fail', chdir=CHDIR, status=1)
28 test.build('warning-level.gyp', 'test_wl1_pass', chdir=CHDIR)
30 test.build('warning-level.gyp', 'test_wl2_fail', chdir=CHDIR, status=1)
31 test.build('warning-level.gyp', 'test_wl2_pass', chdir=CHDIR)
33 test.build('warning-level.gyp', 'test_wl3_fail', chdir=CHDIR, status=1)
34 test.build('warning-level.gyp', 'test_wl3_pass', chdir=CHDIR)
36 test.build('warning-level.gyp', 'test_wl4_fail', chdir=CHDIR, status=1)
38 test
[all...]
H A Dgyptest-link-deffile.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
21 test.run_gyp('deffile-multiple.gyp', chdir=CHDIR, stderr=None, status=1)
23 test.run_gyp('deffile.gyp', chdir=CHDIR)
24 test.build('deffile.gyp', test.ALL, chdir=CHDIR)
27 full_path = test.built_file_path(binary, chdir=CHDIR)
28 output = test.run_dumpbin('/exports', full_path)
34 test.fail_test()
36 test.fail_test()
39 test
[all...]
H A Dgyptest-link-shard.py16 test = TestGyp.TestGyp(formats=['msvs', 'ninja']) variable
19 test.run_gyp('shard.gyp', chdir=CHDIR)
20 test.build('shard.gyp', test.ALL, chdir=CHDIR)
22 test.built_file_must_exist('shard_0.lib', chdir=CHDIR)
23 test.built_file_must_exist('shard_1.lib', chdir=CHDIR)
24 test.built_file_must_exist('shard_2.lib', chdir=CHDIR)
25 test.built_file_must_exist('shard_3.lib', chdir=CHDIR)
27 test.run_gyp('shard_ref.gyp', chdir=CHDIR)
28 test
[all...]
/external/libcxx/test/strings/basic.string/string.modifiers/string_erase/
H A Diter_iter.pass.cpp21 test(S s, typename S::difference_type pos, typename S::difference_type n, S expected) function
35 test(S(""), 0, 0, S(""));
36 test(S("abcde"), 0, 0, S("abcde"));
37 test(S("abcde"), 0, 1, S("bcde"));
38 test(S("abcde"), 0, 2, S("cde"));
39 test(S("abcde"), 0, 4, S("e"));
40 test(S("abcde"), 0, 5, S(""));
41 test(S("abcde"), 1, 0, S("abcde"));
42 test(S("abcde"), 1, 1, S("acde"));
43 test(
[all...]
/external/chromium_org/tools/gyp/test/android/
H A Dgyptest-space-filenames.py13 test = TestGyp.TestGyp(formats=['android']) variable
17 test.run_gyp('space_filenames.gyp', status=1, stderr=stderr)
19 test.pass_test()
/external/chromium_org/tools/gyp/test/library_dirs/
H A Dgyptest-library-dirs.py15 test = TestGyp.TestGyp(formats=['!android']) variable
17 lib_dir = test.tempdir('secret_location')
19 test.run_gyp('test.gyp',
24 # 'dependencies' (test.ALL does NOT work here for some builders, and in any case
26 test.build('test.gyp', 'mylib', chdir='subdir')
27 test.build('test.gyp', 'libraries-search-path-test', chdi
[all...]
/external/chromium_org/tools/gyp/test/same-target-name/
H A Dgyptest-same-target-name.py13 test = TestGyp.TestGyp() variable
16 test.run_gyp('all.gyp', chdir='src', status=1, stderr=None)
18 test.pass_test()

Completed in 243 milliseconds

<<11121314151617181920>>