From e882d726ef88c1fb9101d4cfe66924c8d6d0d51c Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 12 Feb 2015 04:56:19 +0600 Subject: Add unit test dummy for build integration testing. --- _oasis | 14 ++++++++++++++ test/vyconf_tree_test.ml | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 test/vyconf_tree_test.ml diff --git a/_oasis b/_oasis index 4ec905d..bd8ee5b 100644 --- a/_oasis +++ b/_oasis @@ -14,3 +14,17 @@ Plugins: META (0.4), DevFiles (0.4) Executable "vyconfd" Path: src MainIs: vyconfd.ml + +Executable "vyconf_tree_test" + Path: test + MainIs: vyconf_tree_test.ml + Build$: flag(tests) + CompiledObject: best + Install: false + BuildDepends: oUnit + +Test "vyconf_tree_test" + Run$: flag(tests) + TestTools: vyconf_tree_test + Command: $vyconf_tree_test + WorkingDirectory: test diff --git a/test/vyconf_tree_test.ml b/test/vyconf_tree_test.ml new file mode 100644 index 0000000..77a725c --- /dev/null +++ b/test/vyconf_tree_test.ml @@ -0,0 +1,12 @@ +open OUnit2 + +let test1 test_ctxt = assert_equal 0 0 + +let suite = + "VyConf tree tests" >::: [ + "test_dummy">:: test1; + ] + +let () = + run_test_tt_main suite + -- cgit v1.2.3