Home
last modified time | relevance | path

Searched refs:num_shards (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/test/pyautolib/
Dpyauto_utils.py168 def Shard(ilist, shard_index, num_shards): argument
176 chunk_size = len(ilist) / num_shards
178 if shard_index == num_shards - 1: # Exhaust the remainder in the last shard.
Dpyauto.py5396 num_shards = int(matched.group(2))
5397 if shard_index < 0 or shard_index >= num_shards:
5400 test_names = pyauto_utils.Shard(test_names, shard_index, num_shards)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/
Dprinting.py115 def print_workers_and_shards(self, num_workers, num_shards, num_locked_shards): argument
119 self._print_debug("(%s)." % grammar.pluralize('shard', num_shards))
122 self._print_debug("(%d shards; %d locked)." % (num_shards, num_locked_shards))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
Dlayout_test_runner_unittest.py54 def print_workers_and_shards(self, num_workers, num_shards, num_locked_shards): argument
/external/protobuf/gtest/test/
Dgtest_unittest.cc2347 const int num_shards = 5; in TEST() local
2352 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2353 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST()
2366 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2370 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
2372 EXPECT_GE(num_tests_on_shard, num_tests / num_shards); in TEST()
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc1915 const int num_shards = 5; in TEST() local
1920 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
1921 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST()
1934 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
1938 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
1940 EXPECT_GE(num_tests_on_shard, num_tests / num_shards); in TEST()
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc2089 const int num_shards = 5; in TEST() local
2094 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2095 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST()
2108 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2112 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
2114 EXPECT_GE(num_tests_on_shard, num_tests / num_shards); in TEST()
/external/gtest/test/
Dgtest_unittest.cc2089 const int num_shards = 5; in TEST() local
2094 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2095 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST()
2108 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST()
2112 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
2114 EXPECT_GE(num_tests_on_shard, num_tests / num_shards); in TEST()