Home
last modified time | relevance | path

Searched full:directory (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/arkcompiler/ets_frontend/ets2panda/bindings/test/
Dprepare.ps114 …is script will replace the old paths with the new ones in all files within the testcases directory.
20 # Check if the 'ets' directory exists in ScriptDir
22 Write-Error "Error: 'ets' directory not found in $ScriptDir."
23 Write-Error "Please make sure the 'ets' directory exists before running bindings test."
43 function Process-Directory { in Process-Directory()
45 [string] $directory in Process-Directory() variable
48 if (-not (Test-Path -Path $directory -PathType Container)) { in Process-Directory() variable
49 Write-Host "Directory $directory does not exist. Skipping." in Process-Directory() variable
53 Write-Host "Processing directory: $directory" in Process-Directory() variable
55 $jsonFiles = Get-ChildItem -Path $directory -Filter "*.json" -File -Recurse in Process-Directory()
[all …]
DREADME.md25 ### testcase directory structure
54 1. add exampleFuncName2.ets file in `testcases/exampleFuncName` directory
59 1. add exampleFuncName2 directory in `testcases` directory
61 3. add exampleFuncName2.json in `expected` directory
65 …please make sure that the path formats in all JSON files under the testcases directory are correct.
Dprepare.sh16 …is script will replace the old paths with the new ones in all files within the testcases directory.
22 # Check if the 'ets' directory exists in SCRIPT_DIR
24 echo "Error: 'ets' directory not found in ${SCRIPT_DIR}."
25 echo "Please make sure the 'ets' directory exists before running bindings test."
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
Dcmake_checker.py18 # cmake-checker.py <DIRECTORY> [TEST]
19 # - <DIRECTORY>
20 # Root directory for checking
43 def run_cmake_checker(directory): argument
46 ignore_files = [os.path.join(directory, s) for s in ignore_files]
54 # Fetch all cmake files in directory
55 for root, dirs, files in os.walk(directory, followlinks=True):
58 # Check if root directory matches any white list path
59 if root.startswith(os.path.join(directory, white_path)):
62 # Check if root directory matches any ignore path
[all …]
/arkcompiler/ets_frontend/testTs/
DREADME.md8 1. Compile TS2ABC warehouse in hongmeng system code root directory. Delete the out directory and ru…
9 2. Go to the tool build directory 'cd out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/build' …
10 3. After setting up the environment, enter the ark/ts2abc directory of Hongmeng system
16 1.2 Performing directory Tests <br>
17 python3 ./testTs/run_testTs.py --dir File directory, for example(./testTs/test/ambient)<br>
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/
DREADME.md15 | `--bindir` | Directory with compiled binaries (eg.: ark_asm, ark_aot, ark). Required. |
16 | `--sourcedir` | Directory with source asm files. Required for arm64. |
17 | `--libdir` | Directory with etsstdlib. Required for arm64. |
18 | `--host-builddir` | Directory of panda host build. Required for arm64. |
30 …) and libraries (`${ARK_BUILD_DIR}/bin ${ARK_BUILD_DIR}/lib`) to device directory (`${DEVICE_TEST_…
32 2. Load stdlib (`${ARK_BUILD_DIR}/plugins/ets/etsstdlib.abc`) to device library directory (`${DEVIC…
34 3. Load libdwarf.so and libunwind.so to device library directory (`${DEVICE_TEST_DIR}/lib/`)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Drunner_base.py50 def load_test_from_list(test_root: str, line: str, directory: Optional[str] = None) -> Optional[str…
54 …extra_dir_check = (directory is None) or (directory is not None and test.startswith(str(directory)…
62 def load_list(test_root: str, test_list_path: str, directory: Optional[str] = None) -> List[str]:
69 test_file = load_test_from_list(test_root, line, directory)
123 # directory where test files are located - it's either set explicitly to the absolute value
128 … # directory where list files (files with list of ignored, excluded, and other tests) are located
138 # root directory containing bin folder with binary files
248 def load_tests_from_lists(self, lists: List[str], directory: Optional[str] = None) -> List[str]:
254 tests.extend(load_list(self.test_root, list_path, directory))
281 # Browse the directory, search for files with the specified extension
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/url/
DUrlTestHref.ets26 let params = url.URL.parseURL('http://username:password@host:8080/directory/file?query#fragment')
28 assertEQ(result, "http://username:password@host:8080/directory/file?query#fragment")
40 let params = url.URL.parseURL('http://host:8080/directory/file?query#fragment')
42 assertEQ(result, "http://host:8080/directory/file?query#fragment")
68 let params = url.URL.parseURL('http://username:password@host:8080/directory/file?query#fragment')
83 let params = url.URL.parseURL('http://username:password@host:8080/directory/file?query#fragment')
98 let params = url.URL.parseURL('http://username:password@host:8080/directory/file?query#fragment')
112 let params = url.URL.parseURL('http://username:password@host:11/directory/file?query#fragment')
126 let params = url.URL.parseURL('http://username:password@host/directory/file?query#fragment')
140 …let params = url.URL.parseURL('http://username:password@aaaasshost:212/directory/file?query#fragme…
[all …]
/arkcompiler/ets_frontend/es2panda/test/parse_command/
DREADME.md18 Create a V8 source code directory in any directory and switch to it:
35 Execute the following commands in the V8 source directory to pull the latest changes and install an…
80 …_dir`: Add the directory where the test cases are to be executed and the script will automatically…
/arkcompiler/runtime_core/static_core/static_linker/tests/data/ets/filesinfo/
Dgenerate_filesinfo.py23 def find_files_with_extensions(directory=".", extensions=None): argument
28 for root, _, files in os.walk(directory)
45 def find_abc_files(directory=".", output_file="filesinfo.txt"): argument
47 abc_files = find_files_with_extensions(directory, [".abc"])
61 help='working directory (default: .)',
74 logging.info('working directory: %s', args.dir)
/arkcompiler/runtime_core/static_core/scripts/intrusive-testing/
Dlocal_intrusive_testing.sh36 echo " -c: clear existing build directory"
38 … echo "Environment variable INTRUSIVE_TESTS_RELATIVE_DIR sets a directory with intrusive test set"
39 …echo "Environment variable INSTRUMENTATION_TARGETS sets a directory with a taget for intrusive tes…
71 echo "Directory $TARGET_DIR is not empty. Clear it or use flag -c"
94 echo "Directory with repository does not exist"
99 echo "Path to build directory is not set"
112 echo "Cannot create build directory ${BUILD_DIR}"
123 echo "Copy sources into intermediate directory for instrumentation"
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/statistics/scan/
DCountNapiFile.ts70 async function analyzeDirectoryAsync(directory: string): Promise<NapiFileStatisticInfo> {
71 const dirQueue: string[] = [directory];
139 export async function countNapiFiles(directory: string): Promise<NapiFileStatisticInfo> {
141 const stat = await fs.promises.stat(directory);
143 console.log('The provided path is not a directory!');
146 return await analyzeDirectoryAsync(directory);
148 console.error(`Error accessing directory ${directory}: ${e}`);
DCountFile.ts104 * Process directory entries recursively
119 * Process files in a directory
183 * Analyze directory and count files/lines by type
186 directory: string
194 const finalResults = await walkDir(directory);
203 directory: string
206 const stats = await promisify(fs.stat)(directory);
208 return await analyzeDirectory(directory);
210 console.error('The directory is invalid!');
213 console.error('Read directory failed', error);
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/cli/
DTestRunnerCLI.ts47 cliParser.requiredOption('--testDirPath <name>', 'Directory with the test suites.');
48 …cliParser.requiredOption('--testOutPath <name>', 'Directory where the test artifacts should be sto…
51 … suite to run. Test suite name is the same as the name of the folder in <testDirPath>/ directory.',
75 return new Error(`Invalid testDirPath agrument! No directory <${opts.testDirPath}> exists!`);
80 …return new Error(`No test suite <${testSuite}> exisist in the test directory <${opts.testDirPath}>…
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/script/
Dinstall_tsc.sh19 # Check if a root directory parameter is provided, default to the current directory if not
26 # Define the third_party directory
28 TYPESCRIPT_ROOT_DIR="$THIRD_PARTY_DIR/typescript" # Set the directory to 'typescript' inside 'thir…
33 mkdir -p "$THIRD_PARTY_DIR" # Create third_party directory if it doesn't exist
/arkcompiler/runtime_core/cmake/
DREADME.md14 ## Build directory structure
16directory structure, each project has its own subdirectory. For example, the vixl library is locat…
34 Move compile commands to root directory
/arkcompiler/ets_runtime/test/aotjsperftest/
DREADME_en.md7 …'s directory, the current user must have the permission to create folders. Please pay attention to…
25 # you can download to any directory
63 # openharmony_path is the code repository root directory (which has out/ after build)
83 After running, a excel will be created in js_report_save_path(the directory u choose when bash run_…
/arkcompiler/runtime_core/libabckit/tests/apps/deveco-hello-world/
DREADME.md9 - get `filesInfo.txt` file and `entry` directory contents with intermediate TS files
10 - create `modules` directory and copy `entry` directory inside
/arkcompiler/runtime_core/static_core/scripts/llvm/
DREADME.md17 BUILD_DIR=<directory where building process takes place>
18 LLVM_SOURCES=<directory with sources>/llvm
19 VERSION=<version string, which is included in build/install directory names>(default: "main")
31 INSTALL_DIR=<directory for installation, empty means "do not install"> (default: "")
38 OHOS_PREBUILTS=<path to OHOS pre-build directory>, required for OHOS GN build.
/arkcompiler/runtime_core/static_core/cmake/
DREADME.md14 ## Build directory structure
16directory structure, each project has its own subdirectory. For example, the vixl library is locat…
34 Move compile commands to root directory
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/
DREADME.md19 Set path to arkcompiler build directory (cmake build directory).
/arkcompiler/ets_runtime/tools/ap_file_viewer/
Dbuild.py68 print(f"Changed directory to: {os.getcwd()}")
74 print(f"Returned to original directory: {os.getcwd()}")
86 parser = argparse.ArgumentParser(description="Build script with optional target directory.")
88 help="The target directory to cd into before running the build script.")
/arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/
DREADME.md24 - <intrusive_test_name>, which is the name of a directory with this test (e.g., `class_get_base_int…
26 Let us consider, that directory with intrusive test set is `<INTRUSIVE_TESTS_RELATIVE_DIR>=runtime/…
38 3. Create directory for intrusive test `<INTRUSIVE_TESTS_RELATIVE_DIR>/<intrusive_test_name>` and a…
91 Use `-c` flag to clear existing build directory `<path_to_build_dir>` and `-r` to skip instrumentat…
94 …sive test is located in `runtime/tests/intrusive-tests/clear_interrupted_intrusive_test` directory.
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/
Drun_java.py76 def add_directory(self, directory, extension): argument
77 if not os.path.isabs(directory):
78 directory = os.path.join(self.test_root, directory)
79 glob_expression = os.path.join(os.path.abspath(directory), "**/*%s" % (extension))
/arkcompiler/runtime_core/taihe/compiler/taihe/cli/
Dtryit.py98 def create_directory(self, directory: Path) -> None:
99 directory.mkdir(parents=True, exist_ok=True)
100 self.logger.debug("Created directory: %s", directory)
102 def clean_directory(self, directory: Path) -> None:
103 if not directory.exists():
105 shutil.rmtree(directory)
106 self.logger.debug("Cleaned directory: %s", directory)
110 raise FileNotFoundError(f"Source directory does not exist: {src}")
112 self.logger.debug("Moved directory from %s to %s", src, dst)
116 raise FileNotFoundError(f"Source directory does not exist: {src}")
[all …]

12345678910>>...13