Searched refs:total_shards (Results 1 - 3 of 3) sorted by relevance
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_filter_unittest.py | 218 def RunWithSharding(total_shards, shard_index, command): 222 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 290 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, 300 total_shards: A total number of shards to split test run into. 318 for i in range(0, total_shards): 319 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest.cc | 4711 // but inconsistent (i.e., shard_index >= total_shards), prints 4722 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4725 if (total_shards == -1 && shard_index == -1) { 4727 } else if (total_shards == -1 && shard_index != -1) { 4735 } else if (total_shards != -1 && shard_index == -1) { 4738 << kTestTotalShards << " = " << total_shards 4743 } else if (shard_index < 0 || shard_index >= total_shards) { 4748 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; 4754 return total_shards > 1; 4777 // method. Assumes that 0 <= shard_index < total_shards 4778 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument 4790 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
H A D | gtest-internal-inl.h | 258 // but inconsistent (e.g., shard_index >= total_shards), prints 274 // method. Assumes that 0 <= shard_index < total_shards. 276 int total_shards, int shard_index, int test_id);
|
Completed in 29 milliseconds