Skip to content

Commit

Permalink
tests/mpu_noexec_ram: convert to an automated test
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeum committed Feb 18, 2020
1 parent 70d5a97 commit d70b209
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/mpu_noexec_ram/tests/01-run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python3

# Copyright (C) 2020 Sören Tempel <tempel@uni-bremen.de>
#
# 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))

0 comments on commit d70b209

Please sign in to comment.