pseq: Create Rail class
Create new Rail class for the phosphor-power-sequencer application. The
class contains the properties from the updated JSON config file format.
Create gtests to test all new code.
Change-Id: Ia55fe3fcc85345deefc1d1987ea1a8421baf50c4
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
diff --git a/phosphor-power-sequencer/test/meson.build b/phosphor-power-sequencer/test/meson.build
new file mode 100644
index 0000000..ab03041
--- /dev/null
+++ b/phosphor-power-sequencer/test/meson.build
@@ -0,0 +1,16 @@
+test('phosphor-power-sequencer-tests',
+ executable('phosphor-power-sequencer-tests',
+ 'rail_tests.cpp',
+ dependencies: [
+ gtest,
+ nlohmann_json_dep
+ ],
+ link_args: dynamic_linker,
+ build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
+ implicit_include_directories: false,
+ include_directories: [
+ '.',
+ '../src'
+ ]
+ )
+)