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

Merge pull request #20081 from maribu/tests/periph/selftest_shield

tests/periph/selftest_shield: fix integration
This commit is contained in:
Marian Buschsieweke 2023-11-13 18:03:47 +00:00 committed by GitHub
commit 47d81ffbe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 26 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,5 +1,5 @@
/*
* Copyright (C) 2021 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
@ -11,7 +11,8 @@
* @{
*
* @file
* @brief Test application for the Peripheral GPIO Low-Level API
* @brief Test application for Peripheral Self-Testing using the
* Peripheral Selftest Shield
*
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*

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))