mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #10039 from smlng/pr/fix/bench_sizeof_coretypes
tests: enhance bench_sizeof_coretypes
This commit is contained in:
commit
3f8819dfe8
@ -94,18 +94,21 @@ int main(void)
|
||||
P(flags);
|
||||
#endif
|
||||
P(rq_entry);
|
||||
#ifdef MODULE_CORE_MSG
|
||||
#if defined(MODULE_CORE_MSG) || defined(MODULE_CORE_THREAD_FLAGS) || defined(MODULE_CORE_MBOX)
|
||||
P(wait_data);
|
||||
#endif
|
||||
#ifdef MODULE_CORE_MSG
|
||||
P(msg_waiters);
|
||||
P(msg_queue);
|
||||
P(msg_array);
|
||||
#endif
|
||||
#ifdef DEVELHELP
|
||||
P(name);
|
||||
#endif
|
||||
#if defined(DEVELHELP) || defined(SCHED_TEST_STACK) || defined(MODULE_MPU_STACK_GUARD)
|
||||
P(stack_start);
|
||||
#endif
|
||||
#ifdef DEVELHELP
|
||||
P(name);
|
||||
P(stack_size);
|
||||
#endif
|
||||
|
||||
puts("\n[SUCCESS]");
|
||||
return 0;
|
||||
|
||||
@ -6,8 +6,8 @@
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
|
||||
import os
|
||||
import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
@ -15,6 +15,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
|
||||
from testrunner import run
|
||||
sys.exit(run(testfunc))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user