Pin_names generic test: Add BUTTON3 test case

pull/14704/head
jeromecoutant 2021-05-24 12:18:59 +02:00
parent 86d0471136
commit 4abefe5d42
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,6 @@ Requirements specified in docs/design-documents/hal/0004-pin-names-general-guide
#ifndef LED1
#error [NOT_SUPPORTED] Target is not following mbed-os pin names standard // Test is set as Skipped
// #error [NOT_SUPPORTED] Target is not following mbed-os pin names standard // Test is set as Error
#else
using namespace utest::v1;
@ -82,6 +81,9 @@ Case cases[] = {
#ifdef BUTTON2
Case("BUTTON2", BUTTON_test<2, BUTTON2>),
#endif
#ifdef BUTTON3
Case("BUTTON3", BUTTON_test<3, BUTTON3>),
#endif
};
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)