Browse Source

Update README.md

- ##run: Added tip for driving tests from EWARM.
master
Felipe Torrezan 2 weeks ago
committed by GitHub
parent
commit
62a823d865
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      README.md

2
README.md

@ -118,6 +118,8 @@ add_test(NAME tutorialTest
--cpu=cortex-m4
--semihosting)
```
>[!TIP]
>- Read this [article](https://github.com/iarsystems/cmake-tutorial/wiki/CTest-with-IAR-Embedded-Workbench-for-Arm) for the specifics when driving tests from IAR Embedded Workbench for Arm.
- Now use the [`PASS_REGULAR_EXPRESSION`](https://cmake.org/cmake/help/latest/prop_test/PASS_REGULAR_EXPRESSION.html#prop_test:PASS_REGULAR_EXPRESSION) test property to validate if the program emits the expected string to the standard output (`stdout`). In this case, verifying that `printf()` prints the expected message.
```cmake

Loading…
Cancel
Save