Home
last modified time | relevance | path

Searched refs:shard_index (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/build/android/pylib/host_driven/
Dtest_runner.py51 def __init__(self, device, shard_index, tool, push_deps, argument
68 self.shard_index = shard_index
88 test.SetUp(self.device.old_interface.GetDevice(), self.shard_index,
Dtest_case.py61 self.shard_index = 0
71 def SetUp(self, device, shard_index, push_deps, argument
76 self.shard_index = shard_index
129 self.shard_index, test_pkg,
Dtest_server.py69 def __init__(self, shard_index, test_server_port, test_server_path): argument
80 self.port = test_server_port + shard_index
Dsetup.py195 def TestRunnerFactory(device, shard_index): argument
197 device, shard_index,
/external/chromium_org/chrome/android/host_driven_tests/
DSyncTest.py22 def SetUp(self, device, shard_index, push_deps, cleanup_test_files): argument
24 shard_index,
32 super(SyncTest, self).SetUp(device, shard_index, push_deps,
/external/chromium_org/build/android/pylib/monkey/
Dsetup.py23 def TestRunnerFactory(device, shard_index): argument
25 test_options, device, shard_index)
/external/chromium_org/build/android/pylib/base/
Dtest_dispatcher_unittest.py32 def __init__(self, device='0', shard_index=0): argument
34 self.shard_index = shard_index
60 def __init__(self, device='0', shard_index=0): argument
61 super(MockRunnerFailTwice, self).__init__(device, shard_index)
138 self.assertEqual(set([r.shard_index for r in runners]),
/external/chromium_org/build/android/pylib/uiautomator/
Dsetup.py31 def TestRunnerFactory(device, shard_index): argument
33 test_options, device, shard_index, test_pkg)
Dtest_runner.py16 def __init__(self, test_options, device, shard_index, test_pkg): argument
42 shard_index, test_pkg)
/external/chromium_org/build/android/pylib/instrumentation/
Dsetup.py36 def TestRunnerFactory(device, shard_index): argument
37 return test_runner.TestRunner(test_options, device, shard_index,
Dtest_runner.py59 def __init__(self, test_options, device, shard_index, test_pkg, argument
73 self._lighttp_port = constants.LIGHTTPD_RANDOM_PORT_FIRST + shard_index
/external/chromium_org/build/android/pylib/perf/
Dsetup.py92 def TestRunnerFactory(device, shard_index): argument
94 test_options, device, shard_index, len(all_devices),
Dtest_runner.py152 def __init__(self, test_options, device, shard_index, max_shard, tests, argument
166 self._shard_index = shard_index
/external/chromium_org/testing/gtest/test/
Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command): argument
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/protobuf/gtest/test/
Dgtest_filter_unittest.py171 def RunWithSharding(total_shards, shard_index, command): argument
174 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
/external/gtest/test/
Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command): argument
218 extra_env = {SHARD_INDEX_ENV_VAR: str(shard_index),
Dgtest_unittest.cc1889 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST() local
1890 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) { in TEST()
1892 prev_selected_shard_index = shard_index; in TEST()
1895 << shard_index << " are both selected to run test " << test_id; in TEST()
1903 for (int shard_index = 0; shard_index < num_shards; shard_index++) { in TEST() local
1907 ShouldRunTestOnShard(num_shards, shard_index, test_id); in TEST()
/external/chromium_org/third_party/mesa/src/src/gtest/src/
Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
2733 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
4313 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4315 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4318 << kTestShardIndex << " = " << shard_index in ShouldShard()
4323 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4331 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4335 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
4366 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc2702 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
2705 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
4279 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
4281 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4283 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4286 << kTestShardIndex << " = " << shard_index in ShouldShard()
4291 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4299 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4303 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
4334 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/mesa3d/src/gtest/src/
Dgtest.cc2730 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
2733 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
4311 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
4313 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4315 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4318 << kTestShardIndex << " = " << shard_index in ShouldShard()
4323 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4331 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4335 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
4366 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/gtest/src/
Dgtest.cc2734 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
2737 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
4389 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
4391 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4393 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4396 << kTestShardIndex << " = " << shard_index in ShouldShard()
4401 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4409 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4413 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
4444 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/chromium_org/testing/gtest/src/
Dgtest.cc2734 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
2737 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
4389 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
4391 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4393 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4396 << kTestShardIndex << " = " << shard_index in ShouldShard()
4401 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4409 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4413 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
4444 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/protobuf/gtest/src/
Dgtest.cc4069 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in UnitTestImpl() local
4071 if (total_shards == -1 && shard_index == -1) { in UnitTestImpl()
4073 } else if (total_shards == -1 && shard_index != -1) { in UnitTestImpl()
4076 << kTestShardIndex << " = " << shard_index in UnitTestImpl()
4081 } else if (total_shards != -1 && shard_index == -1) { in UnitTestImpl()
4089 } else if (shard_index < 0 || shard_index >= total_shards) { in UnitTestImpl()
4093 << ", but you have " << kTestShardIndex << "=" << shard_index in UnitTestImpl()
4124 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in UnitTestImpl() argument
4125 return (test_id % total_shards) == shard_index; in UnitTestImpl()
4138 const Int32 shard_index = shard_tests == HONOR_SHARDING_PROTOCOL ? in UnitTestImpl() local
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc676 int total_shards, int shard_index, int test_id);
4218 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
4221 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
5873 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
5880 << kTestShardIndex << " = " << shard_index in ShouldShard()
5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
5897 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/
Dgtest-all.cc676 int total_shards, int shard_index, int test_id);
4218 const Int32 shard_index = Int32FromEnvOrDie(kTestShardIndex, -1); in OnTestIterationStart() local
4221 static_cast<int>(shard_index) + 1, in OnTestIterationStart()
5873 const Int32 shard_index = Int32FromEnvOrDie(shard_index_env, -1); in ShouldShard() local
5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
5880 << kTestShardIndex << " = " << shard_index in ShouldShard()
5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
5897 << ", but you have " << kTestShardIndex << "=" << shard_index in ShouldShard()
[all …]

12