1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/malloc_thread_safety/tests/01-run.py
Marian Buschsieweke c9d63c9f4f
tests/malloc_thread_safety: new test
This test checks whether calling malloc in more than one thread is safe.
2020-12-17 15:39:05 +01:00

21 lines
474 B
Python
Executable File

#!/usr/bin/env python3
# Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg
#
# 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.
# @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
import sys
from testrunner import run
def testfunc(child):
child.expect("TEST PASSED")
if __name__ == "__main__":
sys.exit(run(testfunc))