Skip to content

Commit 207a164

Browse files
authored
Merge pull request #13434 from LDong-Arm/move_drivers_platform_tests
Move Callback tests to platform, USB tests to drivers
2 parents a775c7d + 2f92378 commit 207a164

File tree

16 files changed

+3
-3
lines changed

16 files changed

+3
-3
lines changed

TESTS/usb_device/README.md renamed to drivers/tests/TESTS/usb_device/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ No setup method has been verified for this platform.
7070
1. Plug both USB interfaces (*DAPLink* and *USB device*) to your host machine.
7171
1. An addtional macro `USB_DEVICE_TESTS` is needed to be defined when runing tests:
7272
```
73-
mbed test -t <toolchain> -m <target> -DUSB_DEVICE_TESTS -n tests-usb_device-*
73+
mbed test -t <toolchain> -m <target> -DUSB_DEVICE_TESTS -n *-tests-usb_device-*
7474
```
7575
7676
## Known issues
@@ -88,8 +88,8 @@ as an unprivileged user will manifest with either of the following errors:
8888
#### Solution
8989
Execute tests with elevated permissions using `sudo`:
9090
```bash
91-
mbed test -t <toolchain> -m <target> -n tests-usb_device-* --compile
92-
sudo mbed test -t <toolchain> -m <target> -n tests-usb_device-* --run -v
91+
mbed test -t <toolchain> -m <target> -DUSB_DEVICE_TESTS -n tests-usb_device-* --compile
92+
sudo mbed test -t <toolchain> -m <target> -n *-tests-usb_device-* --run -v
9393
```
9494
Note only the `mbed test --run` command requires `sudo`. You can still
9595
`mbed test --compile` as a normal user.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)