Skip to content

Commit 64ca14f

Browse files
authored
Fix garbled test output (#18822)
* Fix garbled test output * Correct SRC listing
1 parent 1a1a365 commit 64ca14f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builddefs/build_test.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ include $(BUILDDEFS_PATH)/build_full_test.mk
7171
endif
7272

7373
$(TEST)_SRC += \
74-
tests/test_common/main.c \
74+
tests/test_common/main.cpp \
7575
$(QUANTUM_PATH)/logging/print.c
7676

7777
$(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC)

tests/test_common/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ extern "C" {
55
#include "debug.h"
66

77
int8_t sendchar(uint8_t c) {
8-
fprintf(stderr, "%c", c);
8+
fprintf(stdout, "%c", c);
99
return 0;
1010
}
1111

0 commit comments

Comments
 (0)