2023-06-27 22:13:32 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
2023-11-13 14:08:29 +01:00
|
|
|
# Copyright (C) 2023 Otto-von-Guericke-Universität Magdeburg
|
2023-06-27 22:13:32 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2023-11-13 14:08:29 +01:00
|
|
|
# @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
|
|
|
2023-06-27 22:13:32 +02:00
|
|
|
import sys
|
|
|
|
from testrunner import run
|
|
|
|
|
|
|
|
|
|
|
|
def testfunc(child):
|
2023-11-13 14:08:29 +01:00
|
|
|
child.expect("self-testing peripheral drivers")
|
|
|
|
child.expect("ALL TESTS SUCCEEDED")
|
2023-06-27 22:13:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
sys.exit(run(testfunc))
|