Skip to content

Commit 47d3a60

Browse files
committed
Add instructions for getting SDK
1 parent d8d0b80 commit 47d3a60

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

usvm-ts/src/test/kotlin/org/usvm/project/ProjectRunner.kt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,35 @@ class ProjectRunner {
3838
private const val SDK_TS_PATH = "/sdk/typescript"
3939
private const val SDK_OHOS_PATH = "/sdk/ohos/5.0.1.111/ets"
4040

41+
// Instructions for getting SDK:
42+
//
43+
// 1. Visit https://repo.huaweicloud.com/harmonyos/os/
44+
//
45+
// 2. Download the latest version (e.g., `5.0.3`):
46+
// ```sh
47+
// curl -OL https://repo.huaweicloud.com/openharmony/os/5.0.3-Release/ohos-sdk-windows_linux-public.tar.gz
48+
// ```
49+
//
50+
// 3. Extract the archive and find the folder `ets` with sub-folders `api`, `arkts`, `component`, `kits`.
51+
// Everything else can be thrown away.
52+
//
53+
// 4. Place the SDK into resources as follows:
54+
// ```
55+
// src/
56+
// test/
57+
// resources/
58+
// sdk/
59+
// ohos/
60+
// <version>/ (e.g., `5.0.1.111`)
61+
// ets/
62+
// api/
63+
// arkts/
64+
// component/
65+
// kits/
66+
// ```
67+
//
68+
// 5. Update the `SDK_OHOS_PATH` const to point to the correct version.
69+
4170
val machineOptions: UMachineOptions = UMachineOptions(
4271
pathSelectionStrategies = listOf(PathSelectionStrategy.CLOSEST_TO_UNCOVERED_RANDOM),
4372
timeout = 10.seconds,

0 commit comments

Comments
 (0)