gtest only for Taranis (thanks Jenkins)

This commit is contained in:
Damjan Adamic
2014-07-05 19:20:56 +02:00
parent 30a68cf170
commit 1bc04db9cd
+2 -2
View File
@@ -389,7 +389,7 @@ TEST(getSwitch, circularCSW)
EXPECT_EQ(getSwitch(-SWSRC_SW2), true); EXPECT_EQ(getSwitch(-SWSRC_SW2), true);
} }
#if defined(CPUARM) #if defined(PCBTARANIS)
TEST(getSwitch, OldTypeStickyCSW) TEST(getSwitch, OldTypeStickyCSW)
{ {
MODEL_RESET(); MODEL_RESET();
@@ -419,7 +419,7 @@ TEST(getSwitch, OldTypeStickyCSW)
EXPECT_EQ(getSwitch(SWSRC_SW1), false); EXPECT_EQ(getSwitch(SWSRC_SW1), false);
EXPECT_EQ(getSwitch(SWSRC_SW2), false); EXPECT_EQ(getSwitch(SWSRC_SW2), false);
} }
#endif // #if defined(CPUARM) #endif // #if defined(PCBTARANIS)
TEST(getSwitch, nullSW) TEST(getSwitch, nullSW)
{ {