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
parent
commit
64ca14feea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      builddefs/build_test.mk
  2. +1
    -1
      tests/test_common/main.cpp

+ 1
- 1
builddefs/build_test.mk View File

@ -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)


+ 1
- 1
tests/test_common/main.cpp View File

@ -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;
}


Loading…
Cancel
Save