/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
browser_test_runner.py | 57 def _TestRangeForShard(total_shards, shard_index, num_tests): 60 |num_tests| tests are split across |total_shards| shards, and that 64 assert total_shards >= 1 65 assert shard_index >= 0 and shard_index < total_shards, ( 66 'shard_index (%d) must be >= 0 and < total_shards (%d)' % 67 (shard_index, total_shards)) 70 floored_tests_per_shard = num_tests // total_shards 71 remaining_tests = num_tests % total_shards 118 def _SplitShardsByTime(test_cases, total_shards, test_times, 122 for i in xrange(total_shards) [all...] |
browser_test_runner_unittest.py | 96 def shardingRangeTestHelper(self, total_shards, num_tests): 98 for shard_index in xrange(0, total_shards): 100 total_shards, shard_index, num_tests)) 121 for total_shards in xrange(1, 20): 123 self.shardingRangeTestHelper(total_shards, 101) 127 for total_shards in xrange(1, 6): 128 self.shardingRangeTestHelper(total_shards, 8) 136 def baseShardingTest(self, total_shards, shard_index, failures, successes, 165 '--total-shards=%d' % total_shards,
|
run_tests.py | 172 runner.args.total_shards = args.total_shards
|
/external/chromium-trace/catapult/third_party/typ/typ/ |
runner.py | 357 total_shards = args.total_shards 358 assert total_shards >= 1 359 assert shard_index >= 0 and shard_index < total_shards, ( 360 'shard_index (%d) must be >= 0 and < total_shards (%d)' % 361 (shard_index, total_shards)) 363 test_set.parallel_tests)[shard_index::total_shards] 365 test_set.isolated_tests)[shard_index::total_shards] 367 test_set.tests_to_skip)[shard_index::total_shards] [all...] |
arg_parser.py | 156 help=('Shard index (0..total_shards-1) of this ' 204 if rargs.total_shards < 1: 212 if rargs.shard_index >= rargs.total_shards: 215 rargs.total_shards)
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest_filter_unittest.py | 215 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/ |
gtest_filter_unittest.py | 215 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/ |
gtest_filter_unittest.py | 215 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/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_filter_unittest.py | 215 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)
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_filter_unittest.py | 215 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/google-breakpad/src/testing/gtest/src/ |
gtest.cc | 4342 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4410 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 255 // 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); [all...] |
/external/gtest/src/ |
gtest.cc | 4388 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4456 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 257 // 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); [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest.cc | 4280 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4348 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 251 // but inconsistent (e.g., shard_index >= total_shards), prints 267 // method. Assumes that 0 <= shard_index < total_shards. 269 int total_shards, int shard_index, int test_id); [all...] |
/external/mesa3d/src/gtest/src/ |
gtest.cc | 4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 248 // 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); [all...] |
/external/protobuf/gtest/src/ |
gtest.cc | 4098 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4166 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 244 // 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); [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
gtest.cc | 4384 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4452 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 257 // 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); [all...] |
/ndk/sources/third_party/googletest/googletest/src/ |
gtest.cc | 4295 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local 4363 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local [all...] |
gtest-internal-inl.h | 257 // 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); [all...] |
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
handlers.py | [all...] |