You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+22-10Lines changed: 22 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,23 @@ The tests in this directory are for the CMake Modules for the IAR Toolchains (e.
3
3
4
4
The `run-tests.sh` script will...
5
5
- build one executable for each supported language (`C`, `CXX` and `ASM`) using...
6
-
- the the default CMake build configurations (`Debug`, `Release`, `DebWithRelInfo` and `MinSizeRel`).
6
+
- the default CMake build configurations (`Debug`, `Release`, `DebWithRelInfo` and `MinSizeRel`).
7
7
8
8
## Environment
9
-
The following GNU Bash environments were used:
9
+
The script was used with the following environments providing GNU Bash:
10
+
11
+
- Cygwin (https://cygwin.com)
12
+
- IAR Embedded Workbench
13
+
- CMake for Windows
14
+
- Ninja for Windows
10
15
- MINGW64 (https://msys2.org)
11
-
- WSL2/Ubuntu 20.04 (IAR Build Tools for Linux)
12
-
- CYGWIN64 (https://cygwin.com)
16
+
- IAR Embedded Workbench
17
+
- CMake for Windows
18
+
- Ninja for Windows
19
+
- Ubuntu 20.04 (/WSL2)
20
+
- IAR Build Tools for Linux
21
+
- Cmake for Linux
22
+
- Ninja for Linux
13
23
14
24
## Environment variables
15
25
### IAR_TOOL_ROOT
@@ -23,17 +33,19 @@ Export the `$IAR_TOOL_ROOT` environment variable, pointing to the top-level loca
23
33
|`/c/IAR_Systems/EW/ARM/9.30.1`| Perform tests only using "Embedded Workbench 9.30.1". |
24
34
25
35
### IAR_LMS2_SERVER_IP (optional)
26
-
Export the `IAR_LMS2_SERVER_IP` environment pointing to the license server, if the client's 1st-time license setup is required. Applies to the `-GL` and `-NW` products. (Default: not set)
36
+
Export the `IAR_LMS2_SERVER_IP` environment variable pointing to the license server, if the client's 1st-time license setup is required. Applies to the `-GL` and `-NW` products. (Default: not set)
27
37
28
38
### CMAKE_MAKE_PROGRAM (optional)
29
-
Export the `CMAKE_MAKE_PROGRAM` to specify which generator to use. (Default: `Ninja`)
39
+
Export the `CMAKE_MAKE_PROGRAM`environment variable to specify which generator to use. (Default: `Ninja`)
30
40
31
41
### MSYSTEM
32
-
This variable is automatically set by MSYS2, MINGW64 and MINGW32. CygWin users must set this environment variable manually.
42
+
This environment variable is automatically set by MSYS2, MINGW64 and MINGW32. Cygwin users must set it manually.
33
43
34
44
Example: `export MSYSTEM=CYGWIN`
35
45
36
-
## Procedure example using __MINGW64__
46
+
## Examples
47
+
48
+
### Using __MINGW64__
37
49
The example below will test every tool found in `C:\IAR_Systems\EW` using MINGW64:
38
50
```bash
39
51
export IAR_TOOL_ROOT=/c/IAR_Systems/EW
@@ -44,15 +56,15 @@ cd ~/cmake-tutorial/tests
44
56
./run-tests.sh
45
57
```
46
58
47
-
##Procedure example using __Ubuntu on WSL2__
59
+
### Using __Ubuntu (/WSL2)__
48
60
The example below will test every tool found in `/opt/iarsystems` using Ubuntu (WSL2):
0 commit comments