tests/cpu_efm32_features: add test script

This commit is contained in:
Bas Stottelaar 2019-10-16 22:09:37 +02:00
parent bbec8277b9
commit b122a8863e

View File

@ -0,0 +1,19 @@
#!/usr/bin/env python3
# Copyright (C) 2019 Bas Stottelaar <basstottelaar@gmail.com>
#
# 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.
import sys
from testrunner import run
def testfunc(child):
child.expect(
r'Board booted, with some EFM32 features enabled or disabled.')
if __name__ == "__main__":
sys.exit(run(testfunc))