Home
last modified time | relevance | path

Searched refs:repo_index (Results 1 – 25 of 79) sorted by relevance

1234

/dports/devel/libgit2/libgit2-1.3.0/tests/merge/workdir/
H A Dtrivial.c11 static git_index *repo_index; variable
21 git_repository_index(&repo_index, repo); in test_merge_workdir_trivial__initialize()
26 git_index_free(repo_index); in test_merge_workdir_trivial__cleanup()
66 for (i = 0; i < git_index_entrycount(repo_index); i++) { in merge_trivial_conflict_entrycount()
84 cl_assert(git_index_reuc_entrycount(repo_index) == 0); in test_merge_workdir_trivial__2alt()
96 cl_assert(git_index_reuc_entrycount(repo_index) == 0); in test_merge_workdir_trivial__3alt()
108 cl_assert(git_index_reuc_entrycount(repo_index) == 0); in test_merge_workdir_trivial__4()
123 cl_assert(git_index_reuc_entrycount(repo_index) == 0); in test_merge_workdir_trivial__5alt_1()
135 cl_assert(git_index_reuc_entrycount(repo_index) == 0); in test_merge_workdir_trivial__5alt_2()
148 cl_assert(git_index_reuc_entrycount(repo_index) == 1); in test_merge_workdir_trivial__6()
[all …]
H A Dsimple.c12 static git_index *repo_index; variable
82 git_repository_index(&repo_index, repo); in test_merge_workdir_simple__initialize()
92 git_index_free(repo_index); in test_merge_workdir_simple__cleanup()
161 cl_assert(merge_test_reuc(repo_index, merge_reuc_entries, 3)); in test_merge_workdir_simple__automerge()
181 cl_git_pass(git_index_read(repo_index, 0)); in test_merge_workdir_simple__index_reload()
186 cl_git_pass(git_index_add(repo_index, &entry)); in test_merge_workdir_simple__index_reload()
236 cl_assert(merge_test_reuc(repo_index, merge_reuc_entries, 3)); in test_merge_workdir_simple__automerge_crlf()
288 cl_assert(merge_test_reuc(repo_index, merge_reuc_entries, 3)); in test_merge_workdir_simple__mergefile()
324 cl_assert(merge_test_reuc(repo_index, merge_reuc_entries, 3)); in test_merge_workdir_simple__diff3()
359 cl_assert(merge_test_reuc(repo_index, merge_reuc_entries, 4)); in test_merge_workdir_simple__union()
[all …]
H A Ddirty.c27 static git_index *repo_index; variable
71 git_repository_index(&repo_index, repo); in test_merge_workdir_dirty__initialize()
76 git_index_free(repo_index); in test_merge_workdir_dirty__cleanup()
159 git_index_get_bypath(repo_index, filename, 0)); in hack_index()
192 cl_git_pass(git_index_add_bypath(repo_index, filename)); in stage_random_files()
216 cl_git_pass(git_index_add_bypath(repo_index, filename)); in stage_content()
267 cl_git_pass(git_index_write(repo_index)); in merge_differently_filtered_files()
340 cl_git_pass(git_index_write(repo_index)); in test_merge_workdir_dirty__identical_staged_files_allowed()
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/objects/client/
H A Dpts_openbenchmarking_client.php55 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
88 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
121 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
159 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
185 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
253 …return isset($repo_index['tests'][$tp][$attribute]) ? $repo_index['tests'][$tp][$attribute] : null;
301 …return isset($repo_index['suites'][$ts][$attribute]) ? $repo_index['suites'][$ts][$attribute] : nu…
441 …if(!empty($repo_index['tests'][$id]['status']) && $repo_index['tests'][$id]['status'] != 'Verified…
458 $tests[$id] = $repo_index['tests'][$id];
486 …if(!empty($repo_index['tests'][$id]['status']) && $repo_index['tests'][$id]['status'] != 'Verified…
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/index/
H A Dnames.c8 static git_index *repo_index; variable
17 git_repository_index(&repo_index, repo); in test_index_names__initialize()
22 git_index_free(repo_index); in test_index_names__cleanup()
23 repo_index = NULL; in test_index_names__cleanup()
46 cl_git_pass(git_index_add(repo_index, &entry)); in index_add_conflicts()
53 cl_git_pass(git_index_add(repo_index, &entry)); in index_add_conflicts()
60 cl_git_pass(git_index_add(repo_index, &entry)); in index_add_conflicts()
90 cl_git_pass(git_index_write(repo_index)); in test_index_names__add()
101 cl_git_pass(git_index_write(repo_index)); in test_index_names__roundtrip()
102 git_index_clear(repo_index); in test_index_names__roundtrip()
[all …]
H A Dconflicts.c7 static git_index *repo_index; variable
16 git_repository_index(&repo_index, repo); in test_index_conflicts__initialize()
21 git_index_free(repo_index); in test_index_conflicts__cleanup()
22 repo_index = NULL; in test_index_conflicts__cleanup()
31 cl_assert(git_index_entrycount(repo_index) == 8); in test_index_conflicts__add()
54 cl_assert(git_index_entrycount(repo_index) == 11); in test_index_conflicts__add()
62 cl_assert(git_index_entrycount(repo_index) == 8); in test_index_conflicts__add_fixes_incorrect_stage()
100 cl_assert(git_index_entrycount(repo_index) == 8); in test_index_conflicts__add_detects_invalid_filemode()
334 git_index_conflict_cleanup(repo_index); in test_index_conflicts__remove_all_conflicts()
403 cl_git_pass(git_index_conflict_add(repo_index, in test_index_conflicts__case_matters()
[all …]
H A Dreuc.c8 static git_index *repo_index; variable
25 git_repository_index(&repo_index, repo); in test_index_reuc__initialize()
30 git_index_free(repo_index); in test_index_reuc__cleanup()
31 repo_index = NULL; in test_index_reuc__cleanup()
60 cl_git_pass(git_index_write(repo_index)); in test_index_reuc__add()
87 cl_git_pass(git_index_write(repo_index)); in test_index_reuc__add_no_ancestor()
130 index_caps = git_index_caps(repo_index); in test_index_reuc__ignore_case()
196 git_index_clear(repo_index); in test_index_reuc__updates_existing()
198 index_caps = git_index_caps(repo_index); in test_index_reuc__updates_existing()
261 git_index_clear(repo_index); in test_index_reuc__write()
[all …]
H A Dstage.c6 static git_index *repo_index; variable
15 git_repository_index(&repo_index, repo); in test_index_stage__initialize()
20 git_index_free(repo_index); in test_index_stage__cleanup()
21 repo_index = NULL; in test_index_stage__cleanup()
34 cl_git_pass(git_index_add_bypath(repo_index, "new-file.txt")); in test_index_stage__add_always_adds_stage_0()
36 cl_assert(!git_index_find(&entry_idx, repo_index, "new-file.txt")); in test_index_stage__add_always_adds_stage_0()
37 cl_assert((entry = git_index_get_byindex(repo_index, entry_idx)) != NULL); in test_index_stage__add_always_adds_stage_0()
46 cl_assert(!git_index_find(&entry_idx, repo_index, "one.txt")); in test_index_stage__find_gets_first_stage()
50 cl_assert(!git_index_find(&entry_idx, repo_index, "two.txt")); in test_index_stage__find_gets_first_stage()
54 cl_assert(!git_index_find(&entry_idx, repo_index, "conflicts-one.txt")); in test_index_stage__find_gets_first_stage()
[all …]
H A Dnsec.c8 static git_index *repo_index; variable
16 git_repository_index(&repo_index, repo); in test_index_nsec__initialize()
21 git_index_free(repo_index); in test_index_nsec__cleanup()
22 repo_index = NULL; in test_index_nsec__cleanup()
70 for (i = 0; i < git_index_entrycount(repo_index); i++) { in has_nsecs()
71 entry = git_index_get_byindex(repo_index, i); in has_nsecs()
97 cl_git_pass(git_index_add_bypath(repo_index, "a.txt")); in test_index_nsec__staging_maintains_other_nanos()
98 cl_git_pass(git_index_write(repo_index)); in test_index_nsec__staging_maintains_other_nanos()
100 cl_git_pass(git_index_write(repo_index)); in test_index_nsec__staging_maintains_other_nanos()
102 git_index_read(repo_index, 1); in test_index_nsec__staging_maintains_other_nanos()
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/stash/
H A Dapply.c7 static git_index *repo_index; variable
14 cl_git_pass(git_repository_index(&repo_index, repo)); in test_stash_apply__initialize()
22 cl_git_pass(git_index_add_bypath(repo_index, "what")); in test_stash_apply__initialize()
23 cl_git_pass(git_index_add_bypath(repo_index, "how")); in test_stash_apply__initialize()
24 cl_git_pass(git_index_add_bypath(repo_index, "who")); in test_stash_apply__initialize()
37 cl_git_pass(git_index_write(repo_index)); in test_stash_apply__initialize()
65 git_index_free(repo_index); in test_stash_apply__cleanup()
66 repo_index = NULL; in test_stash_apply__cleanup()
146 cl_git_pass(git_index_write(repo_index)); in test_stash_apply__conflict_index_with_default()
167 cl_git_pass(git_index_write(repo_index)); in test_stash_apply__conflict_index_with_reinstate_index()
[all …]
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/commands/
H A Dlist_recommended_tests.php37 $repo_index = pts_openbenchmarking::read_repository_index($repo);
38repo_index['tests'][$id]['supported_platforms']) && !in_array(phodevi::os_under_test(), $repo_inde…
43 …if(!empty($repo_index['tests'][$id]['status']) && $repo_index['tests'][$id]['status'] != 'Verified…
49 if($repo_index['tests'][$id]['last_updated'] < (time() - (60 * 60 * 24 * 365)))
55 if(!isset($tests[$repo_index['tests'][$id]['test_type']]))
57 $tests[$repo_index['tests'][$id]['test_type']] = array();
60 $tests[$repo_index['tests'][$id]['test_type']][$identifier] = $repo_index['tests'][$id];
H A Dlist_available_tests.php50 $repo_index = pts_openbenchmarking::read_repository_index($repo);
51repo_index['tests'][$id]['supported_platforms']) && !in_array(phodevi::os_under_test(), $repo_inde…
56 …if(!empty($repo_index['tests'][$id]['status']) && $repo_index['tests'][$id]['status'] != 'Verified…
61 if($repo_index['tests'][$id]['test_type'] == 'Graphics' && !phodevi::is_display_server_active())
67 …le[] = array($identifier, pts_client::cli_just_bold($repo_index['tests'][$id]['title']), $repo_ind…
H A Dlist_all_tests.php47 $repo_index = pts_openbenchmarking::read_repository_index($repo);
48repo_index['tests'][$id]['supported_platforms']) && !in_array(phodevi::os_under_test(), $repo_inde…
53 …if($list_all_tests == false && !empty($repo_index['tests'][$id]['status']) && $repo_index['tests']…
58 …le[] = array($identifier, pts_client::cli_just_bold($repo_index['tests'][$id]['title']), $repo_ind…
H A Dlist_cached_tests.php38 $repo_index = pts_openbenchmarking::read_repository_index($repo);
39repo_index['tests'][$id]['supported_platforms']) && !in_array(phodevi::os_under_test(), $repo_inde…
44 if($repo_index['tests'][$id]['test_type'] == 'Graphics' && !phodevi::is_display_server_active())
51 foreach($repo_index['tests'][$id]['versions'] as $version)
73 …le[] = array($identifier, pts_client::cli_just_bold($repo_index['tests'][$id]['title']), $repo_ind…
H A Dlist_not_installed_tests.php41 $repo_index = pts_openbenchmarking::read_repository_index($repo);
43repo_index['tests'][$id]['supported_platforms']) && !in_array(phodevi::os_under_test(), $repo_inde…
55 …le[] = array($identifier, pts_client::cli_just_bold($repo_index['tests'][$id]['title']), $repo_ind…
H A Dopenbenchmarking_changes.php45 $repo_index = pts_openbenchmarking::read_repository_index($repo);
48 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
50 foreach(array_keys($repo_index['tests']) as $identifier)
52 if($repo_index['tests'][$identifier]['last_updated'] > (time() - (90 * 86400)))
54 $recently_updated[$repo . '/' . $identifier] = $repo_index['tests'][$identifier];
H A Dmake_openbenchmarking_cache.php54 $repo_index = pts_openbenchmarking::read_repository_index($repo);
56 … $total_count . ': ' . ($repo_index['tests'][$test]['title'] != null ? $repo_index['tests'][$test]…
57 $versions = $repo_index['tests'][$test]['versions'];
96 $repo_index = pts_openbenchmarking::read_repository_index($repo);
98 …echo ($i + $test_count) . '/' . $total_count . ': ' . $repo_index['suites'][$test]['title'] . PHP_…
99 foreach($repo_index['suites'][$test]['versions'] as $version)
H A Dopenbenchmarking_repositories.php39 $repo_index = pts_openbenchmarking::read_repository_index($repo);
40 $test_count = count($repo_index['tests']);
41 $suite_count = count($repo_index['suites']);
42 $generated_time = date('F d H:i', $repo_index['main']['generated']);
H A Ddump_openbenchmarking_indexes.php37 $repo_index = pts_openbenchmarking::read_repository_index($repo);
38 $generated_time = date('F d H:i', $repo_index['main']['generated']);
44 foreach($repo_index[$t] as $identifier => $test)
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/objects/
H A Dpts_virtual_test_suite.php41 $repo_index = array('tests' => array());
47 $repo_index['tests'] = array_merge($temp_index['tests'], $repo_index['tests']);
56 …if(!isset($repo_index['tests']) || !is_array($repo_index['tests']) || count($repo_index['tests']) …
61 foreach($repo_index['tests'] as $test_identifier => &$test)
65 unset($repo_index['tests'][$test_identifier]);
73 foreach($repo_index['tests'] as $test_identifier => &$test)
100 foreach($repo_index['tests'] as $test_identifier => &$test)
122 foreach($repo_index['tests'] as $test_identifier => &$test)
134 foreach($repo_index['tests'] as $test_identifier => &$test)
410 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
[all …]
H A Dpts_openbenchmarking.php324 if(isset($repo_index['main']['generated']))
326 $generated_time = $repo_index['main']['generated'];
371 $generated_time = $repo_index['main']['generated'];
399 $old_index = $repo_index;
410 if(isset($repo_index['main']['generated']))
727 if(isset($repo_index['tests']) && is_array($repo_index['tests']))
731 …if(!$show_deprecated_tests && isset($repo_index['tests'][$identifier]['status']) && $repo_index['t…
805 if(isset($repo_index['suites']) && is_array($repo_index['suites']))
1002 …if(is_array($repo_index) && isset($repo_index['tests'][$test]) && self::check_only_type_compare($c…
1012 $versions = $repo_index['tests'][$test]['versions'];
[all …]
H A Dpts_search.php33 $repo_index = pts_openbenchmarking::read_repository_index($repo);
35 if(empty($repo_index['tests'][$id]['title']))
40repo_index['tests'][$id]['title'], $search_query) !== false || stripos($id, $search_query) !== fal…
/dports/devel/libgit2/libgit2-1.3.0/tests/revert/
H A Dworkdir.c13 static git_index *repo_index; variable
21 git_repository_index(&repo_index, repo); in test_revert_workdir__initialize()
31 git_index_free(repo_index); in test_revert_workdir__cleanup()
57 cl_assert(merge_test_index(repo_index, merge_index_entries, 4)); in test_revert_workdir__automerge()
89 cl_assert(merge_test_index(repo_index, merge_index_entries, 6)); in test_revert_workdir__conflicts()
153 cl_assert(merge_test_index(repo_index, merge_index_entries, 1)); in test_revert_workdir__orphan()
186 cl_assert(merge_test_index(repo_index, merge_index_entries, 4)); in test_revert_workdir__again()
195 cl_assert(merge_test_index(repo_index, merge_index_entries, 4)); in test_revert_workdir__again()
236 cl_assert(merge_test_index(repo_index, merge_index_entries, 4)); in test_revert_workdir__again_after_automerge()
285 cl_assert(merge_test_index(repo_index, merge_index_entries, 4)); in test_revert_workdir__again_after_edit()
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/cherrypick/
H A Dworkdir.c13 static git_index *repo_index; variable
19 git_repository_index(&repo_index, repo); in test_cherrypick_workdir__initialize()
24 git_index_free(repo_index); in test_cherrypick_workdir__cleanup()
78 cl_git_pass(git_index_write_tree(&cherrypicked_tree_oid, repo_index)); in test_cherrypick_workdir__automerge()
128 cl_assert(merge_test_index(repo_index, merge_index_entries, 3)); in test_cherrypick_workdir__empty_result()
167 cl_assert(merge_test_index(repo_index, merge_index_entries, 7)); in test_cherrypick_workdir__conflicts()
272 cl_assert(merge_test_index(repo_index, merge_index_entries, 7)); in test_cherrypick_workdir__conflict_use_ours()
314 cl_assert(merge_test_index(repo_index, merge_index_entries, 3)); in test_cherrypick_workdir__rename()
349 cl_assert(merge_test_index(repo_index, merge_index_entries, 5)); in test_cherrypick_workdir__both_renamed()
433 cl_assert(merge_test_index(repo_index, merge_index_entries, 3)); in test_cherrypick_workdir__merge_first_parent()
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/merge/
H A Ddriver.c13 static git_index *repo_index; variable
24 git_repository_index(&repo_index, repo); in test_merge_driver__initialize()
43 git_index_free(repo_index); in test_merge_driver__cleanup()
234 cl_assert((idx = git_index_get_bypath(repo_index, "automergeable.txt", 0))); in test_merge_driver__apply_can_defer()
280 repo_index, "automergeable.txt")); in test_merge_driver__apply_can_conflict()
314 repo_index, "automergeable.txt")); in test_merge_driver__honors_builtin_mergedefault()
338 cl_assert((idx = git_index_get_bypath(repo_index, "automergeable.txt", 0))); in test_merge_driver__mergedefault_deferring_falls_back_to_text()
354 cl_assert((idx = git_index_get_bypath(repo_index, "automergeable.txt", 0))); in test_merge_driver__set_forces_text()
369 repo_index, "automergeable.txt")); in test_merge_driver__unset_forces_binary()
383 cl_assert((idx = git_index_get_bypath(repo_index, "automergeable.txt", 0))); in test_merge_driver__not_configured_driver_falls_back()

1234