Searched refs:total_shards (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/testing/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
219 TOTAL_SHARDS_ENV_VAR: str(total_shards)}
287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run,
297 total_shards: A total number of shards to split test run into.
315 for i in range(0, total_shards):
316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
/external/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
219 TOTAL_SHARDS_ENV_VAR: str(total_shards)}
287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run,
297 total_shards: A total number of shards to split test run into.
315 for i in range(0, total_shards):
316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
/external/protobuf/gtest/test/
H A Dgtest_filter_unittest.py171 def RunWithSharding(total_shards, shard_index, command):
175 TOTAL_SHARDS_ENV_VAR: str(total_shards)}
243 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run,
253 total_shards: A total number of shards to split test run into.
271 for i in range(0, total_shards):
272 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
/external/chromium_org/testing/gtest/src/
H A Dgtest.cc4653 // but inconsistent (i.e., shard_index >= total_shards), prints
4664 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4667 if (total_shards == -1 && shard_index == -1) {
4669 } else if (total_shards == -1 && shard_index != -1) {
4677 } else if (total_shards != -1 && shard_index == -1) {
4680 << kTestTotalShards << " = " << total_shards
4685 } else if (shard_index < 0 || shard_index >= total_shards) {
4690 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4696 return total_shards > 1;
4719 // method. Assumes that 0 <= shard_index < total_shards
4720 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4732 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h257 // but inconsistent (e.g., shard_index >= total_shards), prints
273 // method. Assumes that 0 <= shard_index < total_shards.
275 int total_shards, int shard_index, int test_id);
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h248 // but inconsistent (e.g., shard_index >= total_shards), prints
264 // method. Assumes that 0 <= shard_index < total_shards.
266 int total_shards, int shard_index, int test_id);
/external/gtest/src/
H A Dgtest.cc4377 // but inconsistent (i.e., shard_index >= total_shards), prints
4388 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4391 if (total_shards == -1 && shard_index == -1) {
4393 } else if (total_shards == -1 && shard_index != -1) {
4401 } else if (total_shards != -1 && shard_index == -1) {
4404 << kTestTotalShards << " = " << total_shards
4409 } else if (shard_index < 0 || shard_index >= total_shards) {
4414 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4420 return total_shards > 1;
4443 // method. Assumes that 0 <= shard_index < total_shards
4444 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4456 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h257 // but inconsistent (e.g., shard_index >= total_shards), prints
273 // method. Assumes that 0 <= shard_index < total_shards.
275 int total_shards, int shard_index, int test_id);
/external/llvm/utils/unittest/googletest/src/
H A Dgtest.cc4267 // but inconsistent (i.e., shard_index >= total_shards), prints
4278 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4281 if (total_shards == -1 && shard_index == -1) {
4283 } else if (total_shards == -1 && shard_index != -1) {
4291 } else if (total_shards != -1 && shard_index == -1) {
4294 << kTestTotalShards << " = " << total_shards
4299 } else if (shard_index < 0 || shard_index >= total_shards) {
4304 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4310 return total_shards > 1;
4333 // method. Assumes that 0 <= shard_index < total_shards
4334 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4346 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h247 // but inconsistent (e.g., shard_index >= total_shards), prints
263 // method. Assumes that 0 <= shard_index < total_shards.
265 int total_shards, int shard_index, int test_id);
/external/mesa3d/src/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h248 // but inconsistent (e.g., shard_index >= total_shards), prints
264 // method. Assumes that 0 <= shard_index < total_shards.
266 int total_shards, int shard_index, int test_id);
/external/protobuf/gtest/src/
H A Dgtest.cc4057 // but inconsistent (i.e., shard_index >= total_shards), prints
4068 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4071 if (total_shards == -1 && shard_index == -1) {
4073 } else if (total_shards == -1 && shard_index != -1) {
4081 } else if (total_shards != -1 && shard_index == -1) {
4084 << kTestTotalShards << " = " << total_shards
4089 } else if (shard_index < 0 || shard_index >= total_shards) {
4094 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4100 return total_shards > 1;
4123 // method. Assumes that 0 <= shard_index < total_shards
4124 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4136 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h224 // but inconsistent (e.g., shard_index >= total_shards), prints
239 // method. Assumes that 0 <= shard_index < total_shards.
240 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id);
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc658 // but inconsistent (e.g., shard_index >= total_shards), prints
674 // method. Assumes that 0 <= shard_index < total_shards.
676 int total_shards, int shard_index, int test_id);
5861 // but inconsistent (i.e., shard_index >= total_shards), prints
5872 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
5875 if (total_shards == -1 && shard_index == -1) {
5877 } else if (total_shards == -1 && shard_index != -1) {
5885 } else if (total_shards != -1 && shard_index == -1) {
5888 << kTestTotalShards << " = " << total_shards
5893 } else if (shard_index < 0 || shard_index >= total_shards) {
5928 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5940 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc658 // but inconsistent (e.g., shard_index >= total_shards), prints
674 // method. Assumes that 0 <= shard_index < total_shards.
676 int total_shards, int shard_index, int test_id);
5861 // but inconsistent (i.e., shard_index >= total_shards), prints
5872 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
5875 if (total_shards == -1 && shard_index == -1) {
5877 } else if (total_shards == -1 && shard_index != -1) {
5885 } else if (total_shards != -1 && shard_index == -1) {
5888 << kTestTotalShards << " = " << total_shards
5893 } else if (shard_index < 0 || shard_index >= total_shards) {
5928 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5940 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]

Completed in 1254 milliseconds