diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-02-12 04:56:19 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-02-12 04:56:19 +0600 |
commit | e882d726ef88c1fb9101d4cfe66924c8d6d0d51c (patch) | |
tree | 2e023b7e937f0250cbc5755cc502a47d6d494d2c | |
parent | 9cffcca10c0319b6b603afce33aab0bdea1cdddc (diff) | |
download | vyconf-e882d726ef88c1fb9101d4cfe66924c8d6d0d51c.tar.gz vyconf-e882d726ef88c1fb9101d4cfe66924c8d6d0d51c.zip |
Add unit test dummy for build integration testing.
-rw-r--r-- | _oasis | 14 | ||||
-rw-r--r-- | test/vyconf_tree_test.ml | 12 |
2 files changed, 26 insertions, 0 deletions
@@ -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 + |