Browse Source

Add mad_compile test-suite

Sina Samavati 11 years ago
parent
commit
f165721246
1 changed files with 16 additions and 0 deletions
  1. 16 0
      test/mad_compile_SUITE.erl

+ 16 - 0
test/mad_compile_SUITE.erl

@@ -0,0 +1,16 @@
+-module(mad_compile_SUITE).
+
+-export([all/0]).
+-export([deps/1]).
+-export([app/1]).
+
+-import(helper, [get_value/2]).
+
+
+all() ->
+    [deps, app].
+
+deps(Config) ->
+    DataDir = get_value(data_dir, Config),
+    DepsDir = filename:join("..", "mad_deps_SUITE_data"),
+    ok = mad_compile:deps(DepsDataDir, "mad").