Home
last modified time | relevance | path

Searched refs:process (Results 1 - 25 of 61) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/
H A Dreturn_pending_promise_to_js_test.js19 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
20 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
21 process.exit(1);
30 process.exit(1);
34 process.exit(1);
58 process.exit(1);
75 process.exit(1);
101 process.exit(1);
105 let args = process
[all...]
H A Dreturn_promise_to_js_test.js32 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
33 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
35 process.exit(1);
40 process.exit(1);
44 process.exit(1);
62 process.exit(1);
71 let args = process.argv;
74 process.exit(1);
H A Dawait_js_promise.js34 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi');
36 'panda-files': process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH,
37 'boot-panda-files': `${process.env.ARK_ETS_STDLIB_PATH}:${process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH}`,
49 process.exit(1);
89 process.exit(1);
93 process.exit(1);
101 process.exit(1);
112 process.exit(1);
137 process
[all...]
H A Drun_promise_test.js18 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
19 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
21 process.exit(1);
34 let args = process.argv;
37 process.exit(1);
H A Drun_to_ets_and_back_test.js19 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
20 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
22 process.exit(1);
28 process.exit(1);
H A Drun_to_js_and_back_test.js19 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
20 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
22 process.exit(1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Druntime.py114 process: trio.Process,
121 self.process = process
140 return self.process.returncode
143 if self.process.stdout:
144 self.stdout_parser = StreamParser(self.process.stdout, send_stdout.clone(), "STDOUT", ARK_OUT)
146 if self.process.stderr:
147 self.stderr_parser = StreamParser(self.process.stderr, send_stderr.clone(), "STDERR", ARK_ERR)
151 self.process.terminate()
154 self.process
[all...]
H A Ddebug.py73 ) as process:
74 yield process
75 await process.wait()
84 process: RuntimeProcess
112 process: RuntimeProcess,
126 process=process,
131 process.terminate()
133 await process.wait()
158 ) as process
[all...]
H A Dwalker.py51 process: RuntimeProcess,
57 self.process = process
70 capture = self.process.capture
75 await self.process.sync_capture()
88 return self.process.capture
95 process=context.process,
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/timer/
H A Drun_timer_test.js18 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
19 if (!etsVm.createEtsRuntime(process.env.ARK_ETS_STDLIB_PATH, process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH, false, false)) {
21 process.exit(1);
40 let args = process.argv;
43 process.exit(1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/proxy_reference_storage_2/
H A Dtest_proxy_reference_storage_2.js16 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
18 'panda-files': process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH,
19 'boot-panda-files': `${process.env.ARK_ETS_STDLIB_PATH}:${process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH}`,
28 process.exit(1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/static_enum/
H A Dstatic_enum_test.js20 process.exit(1);
25 let etsVm = require(process.env.MODULE_PATH + '/ets_interop_js_napi.node');
27 'panda-files': process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH,
28 'boot-panda-files': `${process.env.ARK_ETS_STDLIB_PATH}:${process.env.ARK_ETS_INTEROP_JS_GTEST_ABC_PATH}`,
38 process.exit(1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/
H A Dgtest_launcher.js59 let penv = process.env;
79 let gtestName = process.argv[2];
81 console.error(`Usage: ${process.argv[0]} ${process.argv[1]} <test name>`);
85 let gtestDir = process.env.ARR_ETS_INTEROP_JS_GTEST_DIR;
93 let args = process.argv.slice(2);
103 process.exit(main());
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_steps.py72 def check_exit_status(process: RuntimeProcess, log: RichLogger):
73 status = process.returncode
87 async with ark_runtime.run(nursery, module=script_file, debug=False) as process:
88 await process.wait()
89 check_exit_status(process, log)
100 async with ark_runtime.run(nursery, module=script_file) as process:
106 check_exit_status(process, log)
150 async with ark_runtime.run(nursery, module=script_file) as process:
163 check_exit_status(process, log)
195 async with ark_runtime.run(nursery, module=script_file) as process
[all...]
H A Dtest_breaks_props.py120 async with ark_runtime.run(nursery, module=script_file) as process:
132 process.terminate()
133 assert process.returncode == -SIGTERM
178 async with ark_runtime.run(nursery, module=script_file) as process:
190 process.terminate()
191 assert process.returncode == -SIGTERM
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
H A Dutil_hermes.py107 with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE) as process:
109 if process.stdin is None:
111 process.stdin.write(actual_output.encode('utf-8'))
112 process.communicate(timeout=10)
113 return_code = process.returncode
117 process.kill()
122 process.kill()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/escompat/
H A DProcess.cpp62 env->ThrowErrorNew(env->FindClass("std/core/RuntimeException"), "Failed to create a child process"); in SpawnChildProcess()
67 env->ThrowErrorNew(env->FindClass("std/core/RuntimeException"), "Failed to create a child process"); in SpawnChildProcess()
86 env->ThrowErrorNew(env->FindClass("std/core/RuntimeException"), "Failed to create a child process"); in SpawnChildProcess()
296 static ets_double PManagerGetUidForName(EtsEnv *env, [[maybe_unused]] ets_object process, ets_string name) in PManagerGetUidForName() argument
305 static ets_double PManagerGetThreadPriority([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process, in PManagerGetThreadPriority() argument
311 static ets_double PManagerGetSystemConfig([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process, in PManagerGetSystemConfig() argument
317 static ets_string PManagerGetEnvironmentVar(EtsEnv *env, [[maybe_unused]] ets_object process, ets_string name) in PManagerGetEnvironmentVar() argument
326 static void PManagerExit([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process, ets_double code) in PManagerExit() argument
331 static ets_boolean PManagerKill(EtsEnv *env, [[maybe_unused]] ets_object process, ets_double signal, ets_double pid) in PManagerKill() argument
355 static ets_double GetTid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) in GetTid() argument
360 GetPid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetPid() argument
365 GetPPid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetPPid() argument
370 GetUid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetUid() argument
375 GetEuid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetEuid() argument
380 GetGid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetGid() argument
385 GetEgid([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetEgid() argument
390 GetGroupIDs(EtsEnv *env, [[maybe_unused]] ets_object process) GetGroupIDs() argument
408 Is64BitProcess([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) Is64BitProcess() argument
414 GetProcessStartRealTime([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetProcessStartRealTime() argument
419 GetProcessPastCpuTime([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetProcessPastCpuTime() argument
425 AbortProcess([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) AbortProcess() argument
430 GetCurrentWorkingDirectory(EtsEnv *env, [[maybe_unused]] ets_object process) GetCurrentWorkingDirectory() argument
435 ChangeCurrentWorkingDirectory(EtsEnv *env, [[maybe_unused]] ets_object process, ets_string path) ChangeCurrentWorkingDirectory() argument
442 GetSystemUptime([[maybe_unused]] EtsEnv *env, [[maybe_unused]] ets_object process) GetSystemUptime() argument
[all...]
/arkcompiler/ets_runtime/test/
H A Drun_ts_test262.py118 process = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
119 process.communicate(timeout=5000)
125 process = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
126 out, err = process.communicate(timeout=5000)
127 return_code = process.returncode
138 process = subprocess.Popen(cmds, stdin=subprocess.PIPE,
140 process.communicate(timeout=5000)
143 process = subprocess.Popen(get_ark_js_cmd_aot(abc_file_path_temp), stdin=subprocess.PIPE,
146 out, err = process.communicate(timeout=5000)
149 process
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/
H A Drun_checked_test.js18 let penv = process.env;
43 let args = process.argv;
47 process.exit(1);
/arkcompiler/ets_runtime/tools/ap_file_viewer/
H A Dbuild.py53 process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
54 for line in process.stdout:
56 process.wait()
57 if process.returncode != 0:
58 raise Exception(f"Command failed with return code {process.returncode}")
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dexec.cpp39 Expected<int, Error> Wait(int64_t process, bool testStatus) in Wait() argument
41 auto pid = static_cast<pid_t>(process); in Wait()
42 ASSERT(pid == process); in Wait()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/
H A Drun_test.js19 let penv = process.env;
51 let args = process.argv;
54 process.exit(1);
/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
H A Dtest.rb51 process = raw_command.key?(Generator::TEST_COMMAND_ONLY) && raw_command[Generator::TEST_COMMAND_ONLY]
52 LOG.debug "Some command has 'only' key, process command: #{process}"
54 process = true
55 LOG.debug "No 'only' key is defined for any command, process command: #{process}"
57 if process
/arkcompiler/runtime_core/tests/cts-generator/generator/
H A Dtest.rb51 process = raw_command.key?(Generator::TEST_COMMAND_ONLY) && raw_command[Generator::TEST_COMMAND_ONLY]
52 LOG.debug "Some command has 'only' key, process command: #{process}"
54 process = true
55 LOG.debug "No 'only' key is defined for any command, process command: #{process}"
57 if process
/arkcompiler/ets_runtime/test/workloadtest/
H A Dwork_load.py75 process = subprocess.Popen(command, shell=False)
76 process.wait()
82 process = subprocess.Popen(command, shell=False)
83 process.wait()
113 process = subprocess.Popen(command, stdout=subprocess.PIPE,
117 text_data = process.stdout.readline()
129 process.wait()
130 return_code = process.returncode
132 error_output = process.stderr.read().strip()

Completed in 10 milliseconds

123