From 9772f78a0e6f40b032b61f3e23d5d05e0e5ed2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 18 Feb 2020 11:53:31 +0100 Subject: [PATCH] tests/mpu_noexec_ram: convert to an automated test --- tests/mpu_noexec_ram/tests/01-run.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tests/mpu_noexec_ram/tests/01-run.py diff --git a/tests/mpu_noexec_ram/tests/01-run.py b/tests/mpu_noexec_ram/tests/01-run.py new file mode 100755 index 0000000000..8340c1407a --- /dev/null +++ b/tests/mpu_noexec_ram/tests/01-run.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2020 Sören Tempel +# +# 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_exact("MEM MANAGE HANDLER\r\n") + + +if __name__ == "__main__": + sys.exit(run(testfunc, timeout=10))