Add meson build
This commit is to add meson build.
And later, we will remove Autotools and replace it with meson build.
In addition, fixed Layout::LedAction construct parameter error in test
file.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I58c9a2c9de928db288e77ca2d6aa807d36e70144
diff --git a/test/utest.cpp b/test/utest.cpp
index 787b345..26e13ec 100644
--- a/test/utest.cpp
+++ b/test/utest.cpp
@@ -354,12 +354,13 @@
std::set<Layout::LedAction> refAssert = {
{"One", phosphor::led::Layout::Blink, 0, 0,
phosphor::led::Layout::Blink},
- {"Two", phosphor::led::Layout::On, 0, phosphor::led::Layout::Blink},
- {"Three", phosphor::led::Layout::Blink, 0,
- phosphor::led::Layout::On},
- {"Four", phosphor::led::Layout::On, 0,
+ {"Two", phosphor::led::Layout::On, 0, 0,
phosphor::led::Layout::Blink},
- {"Five", phosphor::led::Layout::On, 0,
+ {"Three", phosphor::led::Layout::Blink, 0, 0,
+ phosphor::led::Layout::On},
+ {"Four", phosphor::led::Layout::On, 0, 0,
+ phosphor::led::Layout::Blink},
+ {"Five", phosphor::led::Layout::On, 0, 0,
phosphor::led::Layout::Blink},
};
EXPECT_EQ(refAssert.size(), ledsAssert.size());