@@ -62,7 +62,7 @@ void onReceive_cb(void) {
62
62
63
63
// This function is called by before each test is run
64
64
void setup_test (String test_name, int8_t rx_pin = UART1_RX_DEFAULT, int8_t tx_pin = UART1_TX_DEFAULT) {
65
- log_d (" Setting up %s test" , test_name.c_str ());
65
+ log_v (" Setting up %s test" , test_name.c_str ());
66
66
67
67
current_test = test_name;
68
68
uart1_rx_pin = rx_pin;
@@ -74,12 +74,12 @@ void setup_test(String test_name, int8_t rx_pin = UART1_RX_DEFAULT, int8_t tx_pi
74
74
Serial1.setPins (uart1_rx_pin, uart1_tx_pin);
75
75
uart_internal_loopback (1 , true );
76
76
delay (100 );
77
- log_d (" Running %s test" , test_name.c_str ());
77
+ log_v (" Running %s test" , test_name.c_str ());
78
78
}
79
79
80
80
// This function is called after each test is run
81
81
void teardown_test (void ) {
82
- log_d (" Tearing down %s test" , current_test.c_str ());
82
+ log_v (" Tearing down %s test" , current_test.c_str ());
83
83
if (test_executed) {
84
84
pinMode (uart1_rx_pin, INPUT_PULLUP);
85
85
pinMode (uart1_tx_pin, OUTPUT);
@@ -96,7 +96,7 @@ void teardown_test(void) {
96
96
Serial1.println (" test: This should be printed" );
97
97
Serial1.flush ();
98
98
99
- log_d (" Finished %s test" , current_test.c_str ());
99
+ log_v (" Finished %s test" , current_test.c_str ());
100
100
}
101
101
102
102
/* Test functions */
0 commit comments