# HiChainXts3516 **Repository Path**: code4lala/HiChainXts3516 ## Basic Information - **Project Name**: HiChainXts3516 - **Description**: HiChainXts3516 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-18 - **Last Updated**: 2022-10-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## hi3516dv300 0. download source ``` sh cd test/xts/acts git clone https://gitee.com/code4lala/HiChainXts3516 security/deviceauth/deviceauth_basic_deps ``` 1. edit file test/xts/acts/aafwk/BUILD.gn, replace current aafwk test case with deviceauth test case other subsystems can alse be used, the limitation is that the you can only select one subsystem from variable _all_test_packages in `test/xts/acts/test_packages.gni`, otherwise it will not compile ``` diff diff --git a/aafwk/BUILD.gn b/aafwk/BUILD.gn index 6caaa7fc..65f66c2f 100644 --- a/aafwk/BUILD.gn +++ b/aafwk/BUILD.gn @@ -16,6 +16,6 @@ import("//build/ohos_var.gni") group("aafwk") { testonly = true if (is_standard_system) { - deps = [ "aafwk_standard:aafwk_standard" ] + deps = [ "//test/xts/acts/security/deviceauth/deviceauth_basic_deps:ActsDeviceAuthBasicDepsTest" ] } } ``` 2. compile command: ``` bash cd test/xts/acts pushd ../../.. ; pwd ; echo $(find ./out/hi3516dv300/ -name deviceauth_basic_deps | xargs rm -rf) ; popd ; ./build.sh target_subsystem=aafwk system_size=standard ``` 3. run command: ``` bash hdc_std shell mount -o rw,remount / hdc_std file send .\out\hi3516dv300\suites\acts\testcases\ActsDeviceAuthBasicDepsTest /bin/ hdc_std shell chmod +x /bin/ActsDeviceAuthBasicDepsTest hdc_std shell ActsDeviceAuthBasicDepsTest ```