From b122a8863e53e2a27e92dcafba5ebb1a7e6b224c Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Wed, 16 Oct 2019 22:09:37 +0200 Subject: [PATCH] tests/cpu_efm32_features: add test script --- tests/cpu_efm32_features/tests/01-run.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/cpu_efm32_features/tests/01-run.py diff --git a/tests/cpu_efm32_features/tests/01-run.py b/tests/cpu_efm32_features/tests/01-run.py new file mode 100755 index 0000000000..19819d6078 --- /dev/null +++ b/tests/cpu_efm32_features/tests/01-run.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2019 Bas Stottelaar +# +# 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))