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:
parent
49375e1e10
commit
9210017a52
@ -1,6 +1,6 @@
|
||||
include ../Makefile.tests_common
|
||||
|
||||
USEMODULE += trace
|
||||
USEMODULE += backtrace
|
||||
|
||||
BOARD_WHITELIST := native
|
||||
|
@ -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;
|
||||
}
|
@ -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}")
|
Loading…
Reference in New Issue
Block a user