| /arkcompiler/runtime_core/static_core/scripts/cmake-checker/ |
| D | cmake_checker.py | 18 # 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/ |
| D | README.md | 8 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/ |
| D | README.md | 15 | `--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/ets_frontend/es2panda/test/parse_command/ |
| D | README.md | 18 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/scripts/intrusive-testing/ |
| D | local_intrusive_testing.sh | 36 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/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/cli/ |
| D | TestRunnerCLI.ts | 47 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/cmake/ |
| D | README.md | 14 ## Build directory structure 16 …directory 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/ |
| D | README_en.md | 7 …'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/static_core/scripts/llvm/ |
| D | README.md | 17 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/ |
| D | README.md | 14 ## Build directory structure 16 …directory 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/tests/tests-u-runner/runner/ |
| D | runner_base.py | 108 # directory where test files are located - it's either set explicitly to the absolute value 113 … # directory where list files (files with list of ignored, excluded, and other tests) are located 123 # root directory containing bin folder with binary files 248 # Browse the directory, search for files with the specified extension 250 def add_directory(self, directory: str, extension: str, flags: List[str]) -> None: 251 Log.summary(_LOGGER, f"Loading tests from the directory {directory}") 261 test_files.extend(self.__load_test_files(directory, extension)) 301 def __load_test_files(self, directory: str, extension: str) -> List[str]: 309 glob_expression = path.join(directory, f"**/*.{extension}") 312 path.normpath(path.join(directory, self.config.test_lists.filter)) [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/ |
| D | README.md | 24 - <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_runtime/tools/ap_file_viewer/ |
| D | build.py | 68 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/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/ |
| D | run_java.py | 76 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))
|
| D | run_javar8.py | 87 def add_directory(self, directory, extension): argument 88 if not os.path.isabs(directory): 89 directory = os.path.join(self.test_root, directory) 90 glob_expression = os.path.join(os.path.abspath(directory), "**/*%s" % (extension))
|
| /arkcompiler/runtime_core/cmake/ark-third-party/zlib/ |
| D | CMakeLists.txt | 11 set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executable… 12 set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") 13 set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for header… 14 set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manu… 15 …_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.… 76 message(STATUS "but CMake generates it automatically in the build directory.")
|
| /arkcompiler/runtime_core/static_core/cmake/third_party/zlib/ |
| D | CMakeLists.txt | 11 set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executable… 12 set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") 13 set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for header… 14 set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manu… 15 …_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.… 76 message(STATUS "but CMake generates it automatically in the build directory.")
|
| /arkcompiler/ets_frontend/ets2panda/scripts/ |
| D | test_runner.py | 35 help='specify ark directory (default: %(default)s)') 37 help='specify ark directory (default: %(default)s)') 53 print("The following ark directory does not exist: {0}".format(options.arkdir)) 57 print("The following build directory does not exist: {0}".format(options.builddir))
|
| /arkcompiler/runtime_core/static_core/cmake/toolchain/coverage/ |
| D | unit_tests_lcov.cmake | 43 set(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) variable 73 …COMMAND lcov -c -b ${PANDA_BINARY_ROOT} -d ${DIRECTORY} -o ${COVERAGE_INTERMEDIATE_REPORT} ${LCOV_… 78 COMMAND lcov --zerocounters --directory ${PANDA_BINARY_ROOT}
|
| /arkcompiler/runtime_core/verifier/tests/ |
| D | verify_sys_hap_abc.py | 28 "--hap-dir", required=True, help="Path to the HAP files directory.") 30 "--verifier-dir", required=True, help="Path to the ark_verifier directory.") 57 def process_directory(directory, ark_verifier_path): argument 62 for root, dirs, files in os.walk(directory):
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/ |
| D | README.md | 52 -o, --out <outDir> Directory where to put generated declarations. 54 -d, --dir <projectDir> Directory with TS files to generate declrartions from. (default: [])
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | runtime_controller.cpp | 29 /// Data directory of applications for default user. 32 /// Data directory of applications for non-default users. 76 LOG(WARNING, RUNTIME) << "Disallow loading panda file in data directory : " << path; in CanLoadPandaFile()
|
| /arkcompiler/ets_runtime/ecmascript/sdk/ |
| D | BUILD.gn | 85 # Set the output directory for all dynamic libraries. 103 # Set the output directory 166 # Set the output directory for all dynamic libraries. 183 # Set the output directory 237 # Set the output directory for all dynamic libraries. 253 # Set the output directory
|
| /arkcompiler/toolchain/build/config/aosp/ |
| D | config.gni | 49 # Libc++ library directory. Override to use a custom libc++ binary. 77 # # Toolchain root directory for each build. The actual binaries are inside 78 # # a "bin" directory inside of these.
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | filesystem.h | 48 // Get the current working directory of the running process 51 // Change current working directory of the running process
|