Home
last modified time | relevance | path

Searched refs:shard (Results 1 - 11 of 11) sorted by relevance

/third_party/node/lib/internal/test_runner/
H A Drunner.js487 let { testNamePatterns, shard } = options;
499 if (shard != null) {
500 validateObject(shard, 'options.shard');
501 // Avoid re-evaluating the shard object in case it's a getter
502 shard = { __proto__: null, index: shard.index, total: shard.total };
504 validateInteger(shard.total, 'options.shard
[all...]
/third_party/node/test/parallel/
H A Dtest-runner-cli.js212 // --test-shard option validation
213 const args = ['--test', '--test-shard=1', join(testFixtures, 'index.js')];
218 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received '1'/);
224 // --test-shard option validation
225 const args = ['--test', '--test-shard=1/2/3', join(testFixtures, 'index.js')];
230 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received '1\/2\/3'/);
236 // --test-shard option validation
237 const args = ['--test', '--test-shard=0/3', join(testFixtures, 'index.js')];
242 assert.match(child.stderr.toString(), /The value of "options\.shard\.index" is out of range\. It must be >= 1 && <= 3 \("options\.shard\
[all...]
/third_party/node/lib/internal/main/
H A Dtest_runner.js37 let shard;
38 const shardOption = getOptionValue('--test-shard');
44 '--test-shard',
55 shard = {
67 shard,
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DIsValidUtf8Test.java170 for (Shard shard : IsValidUtf8TestUtil.FOUR_BYTE_SHARDS) { in testShardsHaveExpectedRoundTrippables()
171 actual = (int) (actual + shard.expected); in testShardsHaveExpectedRoundTrippables()
/third_party/node/deps/v8/tools/unittests/
H A Drun_tests_test.py198 for shard in [1, 2]:
203 '--shard-count=2',
204 '--shard-run=%d' % shard,
211 if shard == 1:
224 """Test running a particular shard."""
226 for shard in [1, 2]:
231 '--shard-count=2',
232 '--shard-run=%d' % shard,
[all...]
/third_party/skia/experimental/tools/
H A Dpdf-comparison.py181 def shard(fn, arglist): function
199 return sum(1 for result in shard(fn, arglist) if result)
278 shard(rasterize,
304 shard(compare_differing_pngs, differing_pngs)
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dshard_test.py16 from testrunner.testproc.shard import radix_hash
/third_party/vk-gl-cts/android/cts/runner/tests/src/com/drawelements/deqp/runner/
H A DDeqpTestRunnerTest.java1878 DeqpTestRunner shard = (DeqpTestRunner)shards.get(shardIndex); in runShardedTest()
1879 shard.setBuildHelper(getMockBuildHelper(mTestsDir)); in runShardedTest()
1891 mockListener.testRunStarted(getTestId(shard), shardTests.size()); in runShardedTest()
1907 // NOTE: This assumes that there won't be multiple batches per shard! in runShardedTest()
1926 shard.setDevice(mockDevice); in runShardedTest()
1927 shard.run(mockListener); in runShardedTest()
1962 ArrayList<TestDescription> shard = new ArrayList<>(); in testSharding_twoShards()
1965 shardedTests.add(shard); in testSharding_twoShards()
1966 shard = new ArrayList<>(); in testSharding_twoShards()
1968 shard in testSharding_twoShards()
[all...]
/third_party/node/deps/v8/tools/
H A Dgen-inlining-tests.py14 SHARD_FILENAME_TEMPLATE = "test/mjsunit/compiler/inline-exception-{shard}.js"
465 if MODE != 'shard':
472 FILE = open(SHARD_FILENAME_TEMPLATE.format(shard=SHARD_NUM), 'w')
480 if MODE == 'shard':
481 print("Wrote shard {}.".format(SHARD_NUM))
488 if MODE == 'shard':
498 write("// {} tests in this shard.".format(NUM_TESTS_IN_SHARD))
544 elif sys.argv[1:] == ['--shard-and-overwrite']:
545 MODE = 'shard'
551 print(" python {} --shard
[all...]
/third_party/node/deps/v8/tools/testrunner/
H A Dbase_runner.py31 from testrunner.testproc.shard import ShardProc
374 parser.add_option("--shard-count", default=1, type=int,
376 parser.add_option("--shard-run", default=1, type=int,
377 help="Run this shard from the split up tests.")
802 (id of the current shard [1; number of shards], number of shards)
804 # Read gtest shard configuration from environment (e.g. set by swarming).
830 print("shard-run not a valid number, should be in [1:shard-count]")
/third_party/skia/dm/
H A DDM.cpp91 static DEFINE_int(shard, 0, "Which shard do I run?");

Completed in 10 milliseconds