1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests: rename tests/trace -> tests/backtrace

This commit is contained in:
Kaspar Schleiser 2020-06-04 14:37:41 +02:00
parent 49375e1e10
commit 9210017a52
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common
USEMODULE += trace
USEMODULE += backtrace
BOARD_WHITELIST := native

View File

@ -11,7 +11,7 @@
* @{
*
* @file
* @brief Tests od module.
* @brief Tests backtrace module.
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*
@ -20,11 +20,11 @@
#include <stdio.h>
#include "trace.h"
#include "backtrace.h"
int main(void)
{
printf("TRACE_SIZE: %u\n", TRACE_SIZE);
trace_print();
printf("BACKTRACE_SIZE: %u\n", BACKTRACE_SIZE);
backtrace_print();
return 0;
}

View File

@ -11,7 +11,7 @@ from testrunner import run
def testfunc(child):
child.expect(r"TRACE_SIZE: (\d+)\r\n")
child.expect(r"BACKTRACE_SIZE: (\d+)\r\n")
trace_size = int(child.match.group(1))
for i in range(trace_size):
child.expect(r"0x[0-9a-f]{7,8}")