1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/periph/selftest_shield: fix integration

The test should execute only with `make test-with-config` and not with
`make test`, as boards without the shield cannot pass the test.

For some reason I accidentally added both variants, which makes no
sense. This drops the `make test` variant.

Finally, the `README.md` is updated to refer to `make test-with-config`
instead of `make test`.
This commit is contained in:
Marian Buschsieweke 2023-11-13 14:08:29 +01:00
parent 978176a283
commit b6252b334d
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6
3 changed files with 6 additions and 24 deletions

View File

@ -26,7 +26,7 @@
- (Background: If the UART at D0 and D1 is used for stdio, it cannot be
looped and tested)
5. Flash and run the test
- In this directory, run `make BOARD=<YOUR_BOARD> flash test`
- In this directory, run `make BOARD=<YOUR_BOARD> flash test-with-config`
## Details

View File

@ -1,17 +1,20 @@
#!/usr/bin/env python3
# Copyright (C) 2022 Otto-von-Guericke-Universität Magdeburg
# Copyright (C) 2023 Otto-von-Guericke-Universität Magdeburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
# @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
import sys
from testrunner import run
def testfunc(child):
child.expect('ALL TESTS SUCCEEDED')
child.expect("self-testing peripheral drivers")
child.expect("ALL TESTS SUCCEEDED")
if __name__ == "__main__":

View File

@ -1,21 +0,0 @@
#!/usr/bin/env python3
# Copyright (C) 2023 Otto-von-Guericke-Universität Magdeburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
# @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
import sys
from testrunner import run
def testfunc(child):
child.expect("self-testing peripheral drivers")
child.expect("ALL TESTS SUCCEEDED")
if __name__ == "__main__":
sys.exit(run(testfunc))