Home
last modified time | relevance | path

Searched refs:files (Results 1 - 25 of 50) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/chapters_test/
H A Dchapters_test.py28 files: List[str]
33 cls.files = [
53 files=ChapterTest.files
70 files=ChapterTest.files
87 files=ChapterTest.files
103 files=ChapterTest.files
[all...]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dresult.rb19 @@stats = { passed: { cnt: 0, files: [] },
20 failed: { cnt: 0, files: [] },
21 core: { cnt: 0, files: [] },
22 compilation_error: { cnt: 0, files: [] },
23 quickening_error: { cnt: 0, files: [] },
24 excluded: { cnt: 0, files: [] } }
32 @@stats[:compilation_error][:files] << file
40 @@stats[:quickening_error][:files] << file
48 @@stats[:compilation_error][:files] << file
56 @@stats[:passed][:files] << fil
[all...]
/arkcompiler/runtime_core/tests/cts-generator/runner/
H A Dresult.rb19 @@stats = { passed: { cnt: 0, files: [] },
20 failed: { cnt: 0, files: [] },
21 core: { cnt: 0, files: [] },
22 compilation_error: { cnt: 0, files: [] },
23 quickening_error: { cnt: 0, files: [] },
24 excluded: { cnt: 0, files: [] }}
32 @@stats[:compilation_error][:files] << file
40 @@stats[:quickening_error][:files] << file
48 @@stats[:compilation_error][:files] << file
56 @@stats[:passed][:files] << fil
[all...]
/arkcompiler/ets_frontend/test262/
H A Drun_test262.py40 help='Directory to test. And support multiple directories and files separated by ":"')
248 ALL_SKIP_TESTS.extend(key["files"])
285 files = [line.strip() for line in fopen.readlines() if not line.startswith("#") and line.strip()]
286 return files
450 files = []
463 files.append(file_name.split(origin_dir)[1])
464 return files
467 files = []
468 files = self.collect_tests()
469 files
[all...]
/arkcompiler/ets_runtime/tools/ap_file_viewer/
H A Dwebpack.config.js27 fs.readdir(sourcePath, async (err, files) => {
32 for (const file of files) {
51 let files = [];
53 files = fs.readdirSync(directoryPath);
54 files.forEach((file, index) => {
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Dchapters.py107 def __filter_by_mask(mask: str, files: List[str], extension: str) -> List[str]:
115 for file in files:
121 def filter_by_chapter(self, chapter_name: str, base_folder: str, files: List[str], extension: str) -> Set[str]:
128 filtered.update(self.filter_by_chapter(inc, base_folder, files, extension))
131 filtered.update(Chapters.__filter_by_mask(mask, files, extension))
135 excluded.update(self.filter_by_chapter(exc, base_folder, files, extension))
138 excluded.update(Chapters.__filter_by_mask(mask, files, extension))
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/ark_hz/
H A Dark_js_runtime.cpp39 std::string files = argv[argc - 1]; in ProcessOptions() local
40 if (!ecmascript::base::StringHelper::EndsWith(files, ".abc")) { in ProcessOptions()
52 *filenames = ecmascript::base::StringHelper::SplitString(files, ":"); in ProcessOptions()
/arkcompiler/ets_frontend/testTs/
H A Drun_testTs.py96 for root, dirs, files in os.walk(ts_dir_path):
97 for fi in files:
130 for root, dirs, files in os.walk(args.dir):
131 for file in files:
144 for root, dirs, files in os.walk(TS_CASES_DIR):
145 for file in files:
204 for root, dirs, files in os.walk(out_dir_path):
205 for fi in files:
213 print("There are no expected files or validation file generation: %s", file)
288 # source ts files
[all...]
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlink.cpp64 const auto files = paParser.GetRemainder(); in main() local
65 if (files.empty()) { in main()
71 auto const &fn = files[0]; in main()
87 auto res = ark::static_linker::Link(conf, options.GetOutput(), files); in main()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dgenerate.py58 files = []
65 files.append(
67 return files
73 files = []
76 files += x
77 return files
82 """Collect all src files to gen process.
87 files = []
94 files += BenchGenerator.process_test_list(root, ext)
98 files
[all...]
H A Dunit.py122 files = [f for f in self.path.glob(f'{BENCH_PREFIX}{self.name}*')
124 if len(files) > 0:
125 return files[0]
/arkcompiler/ets_runtime/test/
H A Druntest.py18 Description: Use ark to execute ts/js files
58 parser.add_argument('-c', '--clean', action='store_true', help='clean output files')
470 for root, lists, files in os.walk(dir):
471 for file in files:
488 files = self.find_file(self.args.name, [self.hap_abc, '.hap'])
489 if len(files):
491 file = files[0]
544 files = []
549 files = self.find_file(self.args.name, self.types[self.step])
550 if len(files)
[all...]
H A Drun_ts_test262.py199 with open(filePath, 'w', encoding="utf-8") as files:
202 files.writelines(c)
208 # cover files
209 with open(filePath, 'w', encoding="utf-8") as files:
211 files.writelines(content)
213 # delete abc,ai,an files
/arkcompiler/ets_runtime/ecmascript/js_vm/
H A Dmain.cpp132 bool ExecutePandaFile(EcmaVM *vm, JSRuntimeOptions &runtimeOptions, std::string &files) in ExecutePandaFile() argument
138 arg_list_t fileNames = base::StringHelper::SplitString(files, ";"); in ExecutePandaFile()
140 arg_list_t fileNames = base::StringHelper::SplitString(files, ":"); in ExecutePandaFile()
193 std::string files = argv[argc - 1]; in Main() local
194 if (!base::StringHelper::EndsWith(files, ".abc")) { in Main()
221 ret = ExecutePandaFile(vm, runtimeOptions, files); in Main()
/arkcompiler/runtime_core/verifier/tests/
H A Dverify_262abc_files.py31 for root, _, files in os.walk(folder_path):
32 for file in files:
51 print(f"Total .abc files: {total_count}")
58 parser = argparse.ArgumentParser(description="Verify .abc files using ark_verifier tool.")
59 parser.add_argument("--folder_path", type=str, required=True, help="Path to the folder containing .abc files")
H A Dpull_hap_files.bat55 @rem Retrieve list of .hap files from the device
56 echo Retrieving list of .hap files from device...
68 @rem Clean up temporary files
/arkcompiler/ets_runtime/ecmascript/quick_fix/
H A Dmain.cpp77 std::string files = argv[argc - 1]; in Main() local
78 if (!base::StringHelper::EndsWith(files, ".abc")) { in Main()
108 arg_list_t fileNames = base::StringHelper::SplitString(files, ";"); in Main()
110 arg_list_t fileNames = base::StringHelper::SplitString(files, ":"); in Main()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/test262/
H A Dutil_test262.py112 files = glob(glob_expression, recursive=True)
113 files = [file for file in files if not file.endswith("FIXTURE.js")]
120 for src_file in files:
/arkcompiler/ets_frontend/es2panda/test/
H A Dtest262util.py79 files = glob(glob_expression, recursive=True)
80 files = list(filter(lambda f: not f.endswith("FIXTURE.js"), files))
87 for src_file in files:
H A Drunner.py468 files = glob(glob_expression)
469 files = fnmatch.filter(files, self.test_root + '**' + self.args.filter)
471 self.tests += list(map(lambda f: func(f, flags), files))
485 files = glob(glob_expression)
486 files = fnmatch.filter(files, self.test_root + '**' + self.args.filter)
488 self.tests += list(map(lambda f: AbcToAsmTest(f, flags, self.is_debug), files))
555 files = glob(glob_expression, recursive=True)
556 files
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dvalidate_spec.py24 parser.add_argument('spec_files_dir', type=str, help='Dir with Spec files for validation')
90 files = get_files_for_validation()
91 errors = validate_meta(files)
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/
H A Dpaoc.py54 f'--boot-panda-files={self.etsstdlib} ' \
57 '--paoc-panda-files={abc} ' \
65 def panda_files(files: Iterable[Path]) -> str:
66 if not files:
68 return '--panda-files=' + ':'.join([str(f.with_suffix('.abc'))
69 for f in files])
/arkcompiler/ets_frontend/arkguard/scripts/
H A Dgrammar_test.py170 files = sorted(os.listdir(directory))
171 for one in files:
237 # all source files in test directory
310 files = sorted(os.listdir(root_dir))
313 if CONFIG_FILE_NAME in files:
320 if has_js_or_ts_files(files):
324 for one in files:
/arkcompiler/runtime_core/static_core/compiler/tools/
H A Dbenchmark_coverage.sh151 $PAOC --paoc-panda-files="$benchmark.abc" --compiler-regex="$class_name::$method_name" \
153 --boot-panda-files="$ARKSTDLIB" --load-runtimes="core" \
178 echo -n "$PAOC --paoc-panda-files=\"$benchmark.abc\" --paoc-mode=$PAOC_MODE" >> "$LOG_ERROR"
180 echo -n " --boot-panda-files=\"$ARKSTDLIB\" --load-runtimes=\"core\"" >> "$LOG_ERROR"
281 $PAOC --paoc-panda-files="$test".abc --compiler-regex="$class_name::$method_name" \
283 --boot-panda-files="$boot_panda_files" \
307 echo -n "$PAOC --paoc-panda-files=\"$test.abc\" --paoc-mode=$PAOC_MODE" >> "$LOG_ERROR"
310 echo -n " --boot-panda-files=\"$boot_panda_files\"" >> "$LOG_ERROR"
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
H A DGLFrame.js192 GLFrame.gi().callbackDropfile(e.dataTransfer.files, e.offsetX, e.offsetY);
234 callbackDropfile(files, x, y) {
236 this.pCallbackDropfile(files, x, y);

Completed in 10 milliseconds

12