Skip to content

Commit 8891939

Browse files
committed
tests/mpu_noexec_ram: convert to an automated test
1 parent 4baa07b commit 8891939

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env python3
2+
3+
# Copyright (C) 2020 Sören Tempel <tempel@uni-bremen.de>
4+
#
5+
# This file is subject to the terms and conditions of the GNU Lesser
6+
# General Public License v2.1. See the file LICENSE in the top level
7+
# directory for more details.
8+
9+
import sys
10+
from testrunner import run
11+
12+
def testfunc(child):
13+
child.expect_exact("MEM MANAGE HANDLER\r\n")
14+
15+
if __name__ == "__main__":
16+
sys.exit(run(testfunc, timeout=10))

0 commit comments

Comments
 (0)