From a91b71a581767ecc16d0242865d96e5a6cbad789 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie <alexandre.abadie@inria.fr> Date: Mon, 1 Oct 2018 15:23:45 +0200 Subject: [PATCH] tests/periph_eeprom: add testrunner script --- tests/periph_eeprom/tests/01-run.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/periph_eeprom/tests/01-run.py diff --git a/tests/periph_eeprom/tests/01-run.py b/tests/periph_eeprom/tests/01-run.py new file mode 100755 index 0000000000..26c16c36d6 --- /dev/null +++ b/tests/periph_eeprom/tests/01-run.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2018 Inria +# +# 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.sendline('test') + child.expect('SUCCESS') + + +if __name__ == "__main__": + sys.exit(run(testfunc)) -- GitLab