Searched refs:shard_index (Results 1 - 18 of 18) sorted by relevance

/external/google-breakpad/src/testing/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
H A Dgtest_unittest.cc2196 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2197 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
2199 prev_selected_shard_index = shard_index;
2202 << shard_index << " are both selected to run test " << test_id;
2210 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2214 ShouldRunTestOnShard(num_shards, shard_index, test_i
[all...]
/external/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
H A Dgtest_unittest.cc1889 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1890 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
1892 prev_selected_shard_index = shard_index;
1895 << shard_index << " are both selected to run test " << test_id;
1903 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1907 ShouldRunTestOnShard(num_shards, shard_index, test_i
[all...]
/external/protobuf/gtest/test/
H A Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command):
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
H A Dgtest_unittest.cc2034 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2035 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
2037 prev_selected_shard_index = shard_index;
2040 << shard_index << " are both selected to run test " << test_id;
2048 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2052 ShouldRunTestOnShard(num_shards, shard_index, test_i
[all...]
/external/google-breakpad/src/testing/gtest/src/
H A Dgtest.cc2729 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2732 static_cast<int>(shard_index) + 1,
4331 // but inconsistent (i.e., shard_index >= total_shards), prints
4343 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4345 if (total_shards == -1 && shard_index == -1) {
4347 } else if (total_shards == -1 && shard_index != -1) {
4350 << kTestShardIndex << " = " << shard_index
4355 } else if (total_shards != -1 && shard_index == -1) {
4363 } else if (shard_index < 0 || shard_index >
4398 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4412 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h255 // but inconsistent (e.g., shard_index >= total_shards), prints
271 // method. Assumes that 0 <= shard_index < total_shards.
273 int total_shards, int shard_index, int test_id);
/external/gtest/src/
H A Dgtest.cc2734 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2737 static_cast<int>(shard_index) + 1,
4377 // but inconsistent (i.e., shard_index >= total_shards), prints
4389 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4391 if (total_shards == -1 && shard_index == -1) {
4393 } else if (total_shards == -1 && shard_index != -1) {
4396 << kTestShardIndex << " = " << shard_index
4401 } else if (total_shards != -1 && shard_index == -1) {
4409 } else if (shard_index < 0 || shard_index >
4444 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4458 const Int32 shard_index = 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.cc2702 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2705 static_cast<int>(shard_index) + 1,
4269 // but inconsistent (i.e., shard_index >= total_shards), prints
4281 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4283 if (total_shards == -1 && shard_index == -1) {
4285 } else if (total_shards == -1 && shard_index != -1) {
4288 << kTestShardIndex << " = " << shard_index
4293 } else if (total_shards != -1 && shard_index == -1) {
4301 } else if (shard_index < 0 || shard_index >
4336 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4350 const Int32 shard_index = 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.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
2733 static_cast<int>(shard_index) + 1,
4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4318 << kTestShardIndex << " = " << shard_index
4323 } else if (total_shards != -1 && shard_index == -1) {
4331 } else if (shard_index < 0 || shard_index >
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4380 const Int32 shard_index = 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.cc4087 // but inconsistent (i.e., shard_index >= total_shards), prints
4099 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
4101 if (total_shards == -1 && shard_index == -1) {
4103 } else if (total_shards == -1 && shard_index != -1) {
4106 << kTestShardIndex << " = " << shard_index
4111 } else if (total_shards != -1 && shard_index == -1) {
4119 } else if (shard_index < 0 || shard_index >= total_shards) {
4123 << ", but you have " << kTestShardIndex << "=" << shard_index
4153 // method. Assumes that 0 <= shard_index < total_shard
4154 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4168 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
H A Dgtest-internal-inl.h244 // but inconsistent (e.g., shard_index >= total_shards), prints
260 // method. Assumes that 0 <= shard_index < total_shards.
262 int total_shards, int shard_index, int test_id);
/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);
4218 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); local
4221 static_cast<int>(shard_index) + 1,
5861 // but inconsistent (i.e., shard_index >= total_shards), prints
5873 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
5875 if (total_shards == -1 && shard_index == -1) {
5877 } else if (total_shards == -1 && shard_index != -1) {
5880 << kTestShardIndex << " = " << shard_index
5928 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5942 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/protobuf/gtest/fused-src/gtest/
H A Dgtest-all.cc638 // but inconsistent (e.g., shard_index >= total_shards), prints
654 // method. Assumes that 0 <= shard_index < total_shards.
656 int total_shards, int shard_index, int test_id);
5427 // but inconsistent (i.e., shard_index >= total_shards), prints
5439 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); local
5441 if (total_shards == -1 && shard_index == -1) {
5443 } else if (total_shards == -1 && shard_index != -1) {
5446 << kTestShardIndex << " = " << shard_index
5451 } else if (total_shards != -1 && shard_index == -1) {
5459 } else if (shard_index <
5494 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5508 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]

Completed in 259 milliseconds