mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00
gpio: Refactor pytest_gpio to separate cases with labels, and update to use new IdfDut class in pytest_embedded_idf
This commit is contained in:
@@ -149,17 +149,6 @@ void unity_testcase_register(test_desc_t* desc);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Test case macro to be ignored in CI.
|
||||
Tests will still be built (to check for compile error) but not linked if CONFIG_IDF_CI_BUILD.
|
||||
*/
|
||||
#ifdef CONFIG_IDF_CI_BUILD
|
||||
#define TEST_CASE_CI_IGNORE(name_, desc_) \
|
||||
__attribute__((unused)) static void UNITY_TEST_UID(test_func_) (void)
|
||||
#else
|
||||
#define TEST_CASE_CI_IGNORE(name_, desc_) TEST_CASE(name_, desc_)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Note: initialization of test_desc_t fields above has to be done exactly
|
||||
* in the same order as the fields are declared in the structure.
|
||||
|
Reference in New Issue
Block a user