Skip to content

Commit 6300dc3

Browse files
committed
Restrict tests to Arduino FF only and remove unused symbol
1 parent 372d848 commit 6300dc3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/spi_master/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* The test is designed to verify new SPI HAL API. Please enable the test manually. */
20-
#define TEST_ENABLED 0
21-
2219
#if !DEVICE_SPI
2320
#error [NOT_SUPPORTED] SPI not supported for this target
2421
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2522
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
23+
#elif !TARGET_FF_ARDUINO
24+
#error [NOT_SUPPORTED] Test not supported for this form factor
2625
#else
2726

2827
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/spi_slave/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
* limitations under the License.
1616
*/
1717

18-
/* The test is designed to verify new SPI HAL API. Please enable the test manually. */
19-
#define TEST_ENABLED 0
20-
2118
#if !DEVICE_SPI
2219
#error [NOT_SUPPORTED] SPI not supported for this target
2320
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2421
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2524
#else
2625

2726
#include "utest/utest.h"

0 commit comments

Comments
 (0)