Home
last modified time | relevance | path

Searched full:runner (Results 1 – 25 of 1530) sorted by relevance

12345678910>>...62

/third_party/python/Lib/test/test_asyncio/
Dtest_runners.py265 with asyncio.Runner(debug=False) as runner:
266 self.assertFalse(runner.get_loop().get_debug())
269 with asyncio.Runner(debug=True) as runner:
270 self.assertTrue(runner.get_loop().get_debug())
274 with asyncio.Runner(loop_factory=lambda: loop) as runner:
275 self.assertIs(runner.get_loop(), loop)
282 with asyncio.Runner() as runner:
283 self.assertEqual('done', runner.run(f()))
284 loop = runner.get_loop()
288 "Runner is closed"
[all …]
Dtest_taskgroups.py107 async def runner(): function
117 await asyncio.create_task(runner())
146 async def runner(): function
165 await asyncio.create_task(runner())
184 async def runner(): function
189 r = asyncio.create_task(runner())
211 async def runner(): function
223 r = asyncio.create_task(runner())
241 async def runner(): function
248 r = asyncio.create_task(runner())
[all …]
/third_party/rust/rust/compiler/rustc_codegen_cranelift/build_system/
Dtests.rs135 TestCase::custom("test.rust-random/rand", &|runner| {
136 RAND_REPO.patch(&runner.dirs);
138 RAND.clean(&runner.dirs);
140 if runner.is_native {
141 let mut test_cmd = RAND.test(&runner.target_compiler, &runner.dirs);
146 let mut build_cmd = RAND.build(&runner.target_compiler, &runner.dirs);
151 TestCase::custom("test.libcore", &|runner| {
153 &runner.dirs,
155 &runner.stdlib_source.join("library/core/tests"),
156 &LIBCORE_TESTS_SRC.to_path(&runner.dirs),
[all …]
/third_party/skia/third_party/externals/expat/expat/tests/
Dminicheck.c126 SRunner *runner = calloc(1, sizeof(SRunner)); in srunner_create() local
127 if (runner != NULL) { in srunner_create()
128 runner->suite = suite; in srunner_create()
130 return runner; in srunner_create()
154 handle_failure(SRunner *runner, int verbosity, const char *phase_info) { in handle_failure() argument
155 runner->nfailures++; in handle_failure()
163 srunner_run_all(SRunner *runner, int verbosity) { in srunner_run_all() argument
166 assert(runner != NULL); in srunner_run_all()
167 suite = runner->suite; in srunner_run_all()
172 runner->nchecks++; in srunner_run_all()
[all …]
/third_party/mesa3d/.gitlab-ci/container/
Dbuild-deqp-runner.sh12 uncollapsed_section_start deqp-runner "Building deqp-runner"
22 DEQP_RUNNER_GIT_URL="${DEQP_RUNNER_GIT_URL:-https://gitlab.freedesktop.org/mesa/deqp-runner.git}"
34 mkdir -p /deqp-runner
35 pushd /deqp-runner
36 mkdir deqp-runner-git
37 pushd deqp-runner-git
45 PATCH_URL="https://gitlab.freedesktop.org/mesa/deqp-runner/-/commit/$commit.patch"
46 echo "Backport deqp-runner commit $commit from $PATCH_URL"
52 echo "Apply patch to deqp-runner from $patch"
83 mv target/$RUST_TARGET/release/deqp-runner /deqp-runner
[all …]
/third_party/skia/m133/third_party/externals/expat/expat/tests/
Dminicheck.c133 SRunner *const runner = (SRunner *)calloc(1, sizeof(SRunner)); in srunner_create() local
134 if (runner != NULL) { in srunner_create()
135 runner->suite = suite; in srunner_create()
137 return runner; in srunner_create()
179 handle_failure(SRunner *runner, int verbosity, const char *context, in handle_failure() argument
181 runner->nfailures++; in handle_failure()
192 srunner_run_all(SRunner *runner, const char *context, int verbosity) { in srunner_run_all() argument
195 assert(runner != NULL); in srunner_run_all()
196 suite = runner->suite; in srunner_run_all()
201 runner->nchecks++; in srunner_run_all()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/api/
Dmodel_parallel_runner_test.cc48 ModelParallelRunner runner; in TEST_F() local
49 auto status = runner.Init(model_path); in TEST_F()
58 ModelParallelRunner runner; in TEST_F() local
59 auto status = runner.Init(model_path, config); in TEST_F()
78 ModelParallelRunner runner; in TEST_F() local
79 auto status = runner.Init(model_path, config); in TEST_F()
98 ModelParallelRunner runner; in TEST_F() local
99 auto status = runner.Init(model_path, config); in TEST_F()
101 auto inputs = runner.GetInputs(); in TEST_F()
120 ModelParallelRunner runner; in TEST_F() local
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/
DCMakeLists.txt68 # CTS Test Runner
69 add_subdirectory(runner)
70 include_directories(runner)
73 # Stand-alone cts-runner executable
74 add_executable(cts-runner runner/glcTestRunnerMain.cpp glcTestPackageEntry.cpp)
75 target_link_libraries(cts-runner tcutil-platform glcts-runner glcts${MODULE_LIB_TARGET_POSTFIX})
82 …set(DEQP_MODULE_ENTRY_POINTS ${DEQP_MODULE_ENTRY_POINTS} ${CMAKE_CURRENT_SOURCE_DIR}/runner/glcAnd…
83 set(DEQP_MODULE_LIBRARIES ${DEQP_MODULE_LIBRARIES} glcts-runner PARENT_SCOPE)
/third_party/rust/rust/tests/run-make/thumb-none-qemu/example/.cargo/
Dconfig3 runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable…
6 runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable…
9 runner = "qemu-system-arm -cpu cortex-m4 -machine lm3s6965evb -nographic -semihosting-config enable…
12 runner = "qemu-system-arm -cpu cortex-m4 -machine lm3s6965evb -nographic -semihosting-config enable…
16 runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enabl…
19 runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enabl…
22 runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enabl…
27 # runner = "arm-none-eabi-gdb -q -x openocd.gdb"
28 # runner = "gdb-multiarch -q -x openocd.gdb"
29 # runner = "gdb -q -x openocd.gdb"
/third_party/python/Doc/library/
Dasyncio-runner.rst62 Runner context manager
65 .. class:: Runner(*, debug=None, loop_factory=None)
82 Basically, :func:`asyncio.run()` example can be rewritten with the runner usage::
88 with asyncio.Runner() as runner:
89 runner.run(main())
101 The runner's default context is used if ``None``.
108 Close the runner.
115 Return the event loop associated with the runner instance.
119 :class:`Runner` uses the lazy initialization strategy, its constructor doesn't
138 1. :meth:`asyncio.Runner.run` installs a custom :const:`signal.SIGINT` handler before
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/quick_start_parallel_java/src/main/java/com/mindspore/lite/demo/
DMain.java41 private static ModelParallelRunner runner; field in Main
92 // init runner config in main()
98 ModelParallelRunner runner = new ModelParallelRunner(); in main() local
99 ret = runner.init(modelPath, config); in main()
102 runner.free(); in main()
107 inputs = runner.getInputs(); in main()
124 outputs = runner.getOutputs(); in main()
131 // runner do predict in main()
132 ret = runner.predict(inputs,outputs); in main()
136 runner.free(); in main()
[all …]
/third_party/mesa3d/docs/ci/
Dbare-metal.rst4 The bare-metal scripts run on a system with gitlab-runner and Docker,
18 This testing requires power control of the DUTs by the gitlab-runner
22 We require access to the console output from the gitlab-runner system,
28 gitlab-runner system, since Mesa often needs to update the kernel either for new
34 our dEQP/Piglit/etc. payload is large, we use NFS from the x86 runner system
46 gitlab-runner mounts the runner's tftp directory specific to the board
52 of needing more storage on the runner.
55 done using dnsmasq on the runner host. For example, this snippet in
56 the dnsmasq.conf.d in the Google farm, with the gitlab-runner host we
86 - x86-64 gitlab-runner machine with a mid-range CPU, and 3+ GB of SSD storage
[all …]
DLAVA.rst20 The gitlab-runner will run on some host that has access to the LAVA
23 gitlab-runner spawns a Docker container with lavacli in it, and
52 to connect Mesa CI to it. Install gitlab-runner and register as a
53 shared runner (you'll need a GitLab admin for help with this). The
54 runner *must* have a tag (like "mesa-ci-x86-64-lava-rk3399-gru-kevin")
56 across ``gitlab.freedesktop.org``, and your runner isn't ready for
62 ``/etc/gitlab-runner/config.toml`` so it can access localhost. Create a
63 gitlab-runner user in your LAVA instance, log in under that user on
72 username: gitlab-runner
75 ``/etc/gitlab-runner/config.toml`` so that the Docker container can
/third_party/vk-gl-cts/android/cts/
DAndroidTest.xml50 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
59 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
68 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
77 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
86 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
95 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
104 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
114 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
124 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
134 <test class="com.drawelements.deqp.runner.DeqpTestRunner">
[all …]
/third_party/vixl/tools/
Dcode_coverage.sh42 RUNNER="$BUILDDIR/test/test-runner"
47 if [ ! -f "$RUNNER" ]; then
48 echo "$RUNNER not found."
49 echo "No test-runner for profiling."
54 tests=`$RUNNER --list | wc -l`
58 $RUNNER --run-all 2>&1 | grep -P "^Running [A-Z0-9]{3,}_" | pv -lbp -w 40 -s $tests >/dev/null
64 REPORT="llvm-cov report $RUNNER -instr-profile=$PROFDATA $BUILDDIR/src/"
/third_party/python/Lib/asyncio/
Drunners.py1 __all__ = ('Runner', 'run')
21 class Runner: class
35 with asyncio.Runner(debug=True) as runner:
36 runner.run(main())
38 The run() method can be called multiple times within the runner's context.
94 "Runner.run() cannot be called from a running event loop")
133 raise RuntimeError("Runner is closed")
189 with Runner(debug=debug) as runner:
190 return runner.run(main)
/third_party/typescript/src/testRunner/parallel/
Dhost.ts194 function hashName(runner: TestRunnerKind | "unittest", test: string) {
195 return `tsrunner-${runner}://${test}`;
200 console.log("Discovering runner-based tests...");
202 for (const runner of runners) { constant
203 for (const test of runner.getTestFiles()) {
208 size = statSync(path.join(runner.workingDirectory, file)).size;
213 …size = IO.listFiles(path.join(runner.workingDirectory, file), /.*/g, { recursive: true }).reduce((…
222 const hashedName = hashName(runner.kind(), file);
227 newTasks.push({ runner: runner.kind(), file, size });
231 tasks.push({ runner: runner.kind(), file, size });
[all …]
/third_party/typescript/tests/baselines/reference/user/
Dassert.log4 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
5 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
6 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
7 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
8 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
9 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
10 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
11 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
16 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
19 …not find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save…
[all …]
/third_party/typescript/tests/baselines/reference/
DrecursiveClassReferenceTest.types16 gar(runner:(widget:Sample.Thing.IWidget)=>any):any;
17 >gar : (runner: (widget: Sample.Thing.IWidget) => any) => any
18 >runner : (widget: Sample.Thing.IWidget) => any
90 public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}}
91 >gar : (runner: (widget: Sample.Thing.IWidget) => any) => any
92 >runner : (widget: Sample.Thing.IWidget) => any
97 >runner(this) : any
98 >runner : (widget: IWidget) => any
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/st/java/src/main/java/
DBenchmark.java123 if (args.length == 5 && args[4].equals("Runner")) { in main()
133 // init runner config in main()
138 ModelParallelRunner runner = new ModelParallelRunner(); in main() local
139 ret = runner.init(modelPath, config); in main()
142 runner.free(); in main()
145 List<MSTensor> inputs = runner.getInputs(); in main()
150 runner.free(); in main()
160 // runner do predict in main()
161 ret = runner.predict(inputs,outputs); in main()
164 runner.free(); in main()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model_pool/
Dmodel_parallel_runner.cc42 MS_LOG(ERROR) << "Runner config data is nullptr."; in SetWorkersNum()
50 MS_LOG(ERROR) << "Runner config data is nullptr."; in SetContext()
59 MS_LOG(ERROR) << "Runner config data is nullptr."; in GetWorkersNum()
67 MS_LOG(ERROR) << "Runner config data is nullptr."; in GetContext()
76 MS_LOG(ERROR) << "Runner config data is nullptr."; in SetConfigInfo()
93 MS_LOG(ERROR) << "Runner config data is nullptr."; in SetConfigPath()
102 MS_LOG(ERROR) << "Runner config data is nullptr."; in GetConfigPathChar()
111 MS_LOG(ERROR) << "Runner config data is nullptr."; in GetConfigInfoChar()
120 MS_LOG(ERROR) << "Runner config data is nullptr."; in SetDeviceIds()
128 MS_LOG(ERROR) << "Runner config data is nullptr."; in GetDeviceIds()
/third_party/skia/m133/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java21 import org.junit.runner.Description;
22 import org.junit.runner.RunWith;
23 import org.junit.runner.Runner;
24 import org.junit.runner.manipulation.Filter;
25 import org.junit.runner.manipulation.Filterable;
26 import org.junit.runner.manipulation.NoTestsRemainException;
27 import org.junit.runner.notification.Failure;
28 import org.junit.runner.notification.RunNotifier;
31 public class SkQPRunner extends Runner implements Filterable {
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java19 import org.junit.runner.Description;
20 import org.junit.runner.RunWith;
21 import org.junit.runner.Runner;
22 import org.junit.runner.manipulation.Filter;
23 import org.junit.runner.manipulation.Filterable;
24 import org.junit.runner.manipulation.NoTestsRemainException;
25 import org.junit.runner.notification.Failure;
26 import org.junit.runner.notification.RunNotifier;
29 public class SkQPRunner extends Runner implements Filterable {
/third_party/skia/m133/tests/
DPathOpsThreadedCommon.h58 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
63 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
68 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
71 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
76 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
80 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
/third_party/skia/tests/
DPathOpsThreadedCommon.h57 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
67 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
75 PathOpsThreadedTestRunner* runner) { in PathOpsThreadedRunnable() argument
79 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()

12345678910>>...62