Skip to content

Commit 2136c6b

Browse files
committed
tests/mpu_noexec_ram: convert to an automated test
1 parent 4ad0d42 commit 2136c6b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
13+
def testfunc(child):
14+
child.expect_exact("MEM MANAGE HANDLER\r\n")
15+
16+
17+
if __name__ == "__main__":
18+
sys.exit(run(testfunc, timeout=10))

0 commit comments

Comments
 (0)