diff --git a/tests/trace/Makefile b/tests/backtrace/Makefile similarity index 81% rename from tests/trace/Makefile rename to tests/backtrace/Makefile index 5d38c7e1e5..b6e6fbbb98 100644 --- a/tests/trace/Makefile +++ b/tests/backtrace/Makefile @@ -1,6 +1,6 @@ include ../Makefile.tests_common -USEMODULE += trace +USEMODULE += backtrace BOARD_WHITELIST := native diff --git a/tests/trace/main.c b/tests/backtrace/main.c similarity index 74% rename from tests/trace/main.c rename to tests/backtrace/main.c index 2c146c04b1..889754611a 100644 --- a/tests/trace/main.c +++ b/tests/backtrace/main.c @@ -11,7 +11,7 @@ * @{ * * @file - * @brief Tests od module. + * @brief Tests backtrace module. * * @author Martine Lenders * @@ -20,11 +20,11 @@ #include -#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; } diff --git a/tests/trace/tests/01-run.py b/tests/backtrace/tests/01-run.py similarity index 92% rename from tests/trace/tests/01-run.py rename to tests/backtrace/tests/01-run.py index e1c4c1361e..e7a710e392 100755 --- a/tests/trace/tests/01-run.py +++ b/tests/backtrace/tests/01-run.py @@ -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}")