Skip to content

Commit 0e739aa

Browse files
committed
[B96B_F446VE] remove specific B96B results
Requested by Martin: test is now failing, as B96B_F446VE gives RX_COMPLETE event on top of errors and Char_Match
1 parent fa5e1f7 commit 0e739aa

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

libraries/tests/utest/serial_asynch/serial_asynch.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,7 @@ TEST(Serial_Asynchronous, rx_parity_error)
203203
while ((!tx_complete) || (!rx_complete));
204204

205205
CHECK_EQUAL(SERIAL_EVENT_TX_COMPLETE, tx_event_flag);
206-
#if defined(TARGET_B96B_F446VE)
207-
CHECK_EQUAL((SERIAL_EVENT_RX_COMPLETE|SERIAL_EVENT_RX_PARITY_ERROR), rx_event_flag);
208-
serial_rx->format(8, SerialBase::None, 1);
209-
serial_tx->format(8, SerialBase::None, 1);
210-
#else
211206
CHECK_EQUAL(SERIAL_EVENT_RX_PARITY_ERROR, rx_event_flag);
212-
#endif
213207
}
214208

215209
TEST(Serial_Asynchronous, rx_framing_error)
@@ -223,12 +217,7 @@ TEST(Serial_Asynchronous, rx_framing_error)
223217
while ((!tx_complete) || (!rx_complete));
224218

225219
CHECK_EQUAL(SERIAL_EVENT_TX_COMPLETE, tx_event_flag);
226-
#if defined(TARGET_B96B_F446VE)
227-
CHECK_EQUAL((SERIAL_EVENT_RX_COMPLETE|SERIAL_EVENT_RX_FRAMING_ERROR), rx_event_flag);
228-
serial_tx->baud(9600);
229-
#else
230220
CHECK_EQUAL(SERIAL_EVENT_RX_FRAMING_ERROR, rx_event_flag);
231-
#endif
232221
}
233222

234223
TEST(Serial_Asynchronous, char_matching_success)
@@ -240,16 +229,9 @@ TEST(Serial_Asynchronous, char_matching_success)
240229
while ((!tx_complete) || (!rx_complete));
241230

242231
CHECK_EQUAL(SERIAL_EVENT_TX_COMPLETE, tx_event_flag);
243-
#if defined(TARGET_B96B_F446VE)
244-
// DMA is launched on LONG_XFR size. RX Complete event occurs.
245-
CHECK_EQUAL((SERIAL_EVENT_RX_COMPLETE | SERIAL_EVENT_RX_CHARACTER_MATCH), rx_event_flag);
246-
247-
cmpnbuf(tx_buf, rx_buf, 0, LONG_XFR, __FILE__, __LINE__);
248-
#else
249232
CHECK_EQUAL(SERIAL_EVENT_RX_CHARACTER_MATCH, rx_event_flag);
250233

251234
cmpnbufc(TEST_BYTE_RX, rx_buf, 5, sizeof(rx_buf), __FILE__, __LINE__);
252-
#endif
253235
}
254236

255237
TEST(Serial_Asynchronous, char_matching_failed)

0 commit comments

Comments
 (0)