1
0
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:
Martine Lenders 2018-09-26 10:53:17 +02:00 committed by GitHub
commit 3f8819dfe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -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;

View File

@ -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))