Browse Source
Fix garbled test output (#18822)
* Fix garbled test output
* Correct SRC listing
pull/18832/head
Joel Challis
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
builddefs/build_test.mk
-
tests/test_common/main.cpp
|
|
@ -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) |
|
|
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|