mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-18 11:03:50 +01:00
This moves 'unittests/tests-cpp_ctors' to its own test. It prevents requiring 'cpp' in the 'unittests' that forced almost all architectures to link the unittests with `g++`. It also removes the need to have disabled tests for architectures. Some boards were actually not big enough to compile unittests. But were hidden by the 'cpp' missing feature. Blacklist boards that were disabled for cpp test even though they provide the 'cpp' feature.
19 lines
398 B
Python
Executable File
19 lines
398 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
# Copyright (C) 2019 Freie Universität Berlin
|
|
#
|
|
# 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(r'OK \(\d+ tests\)')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(run(testfunc))
|