Add define HOST_XXX to support pal.h
[platform/core/dotnet/launcher.git] / tests / TCs / README.md
1 # Test Case for dotnet-launcher
2
3 The dotnet-launcher dosen't provide APIs, so there is no test case in TCT.
4 So, We provide the test case to check the functionality of the dotnet-launcher.
5
6 ### Usage
7
8 * Build tpk
9
10   Must be run(./BuildTPK.py) at least once.
11 ```
12 launcher/tests/Apps$ ./BuildTPK.py
13 ```
14
15 * Run full test
16 ```
17 launcher/tests/TCs$ ./ALL.py
18 ```
19
20 * Run each test
21 ```
22 launcher/tests/TCs/1_AOT$ ./AOT.py
23 launcher/tests/TCs/2_PLUGIN$ ./PLUGIN.py
24 launcher/tests/TCs/3_RELOAD$ ./PRELOAD.py
25 launcher/tests/TCs/4_TAC$ ./TAC.py
26 launcher/tests/TCs/5_TLC$ ./TLC.py
27 launcher/tests/TCs/6_TOOL$ ./TOOL.py
28 launcher/tests/TCs/7_LAUNCH$ ./LAUNCH.py
29 ```
30
31 * Run individual test
32 ```
33 launcher/tests/TCs/1_AOT$ ./AOT.py TC_01
34 launcher/tests/TCs/6_TOOL$ ./TOOL.py TC_04 TC_05
35 ```
36
37 ----
38
39 ### Note
40
41 * Precondition
42   - Clone the **dotnet-launcher** repository.
43   - The prerequisites are **sdb** and **python3.6+**.
44   - The script must be run on the **host PC**.
45
46 * SDBs
47
48     sdb with a smart device selector.
49 ```
50 [1] 192.168.250.250 - 0
51 [2] 002c02f56c7d6c66 - TW3
52 Select a device [1-2]: 2
53 ```