Skip to content

Commit

Permalink
Fix garbled test output (qmk#18822)
Browse files Browse the repository at this point in the history
* Fix garbled test output

* Correct SRC listing
  • Loading branch information
zvecr committed Oct 23, 2022
1 parent 1a1a365 commit 64ca14f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builddefs/build_test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ include $(BUILDDEFS_PATH)/build_full_test.mk
endif

$(TEST)_SRC += \
tests/test_common/main.c \
tests/test_common/main.cpp \
$(QUANTUM_PATH)/logging/print.c

$(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_common/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extern "C" {
#include "debug.h"

int8_t sendchar(uint8_t c) {
fprintf(stderr, "%c", c);
fprintf(stdout, "%c", c);
return 0;
}

Expand Down

0 comments on commit 64ca14f

Please sign in to comment.