summaryrefslogtreecommitdiff
path: root/test/config/bt_backend.config
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-10-28 21:23:05 +0100
committerUlf Wiger <ulf@feuerlabs.com>2015-11-20 13:46:13 -0800
commit1b44c2448344a10ae63904a796b6211c40a3f212 (patch)
treece8f7dda870a5c454ffbe9e2c0bc7035b34f0f4b /test/config/bt_backend.config
parent34aa86b5a2e97650fe6299ccf794d5eb5d052d91 (diff)
downloadrvi_core-1b44c2448344a10ae63904a796b6211c40a3f212.tar.gz
Lots of changes to make dlink_bt (simulated) and dlink_tls runtime tests pass
* Introduced high-level logging (rvi_log) * Upgraded to new lager version, customized debug output * Thread rvi_log IDs between nodes and components * Introduce simplified protocol for dlink_tls * Use msgpack encoding for dlink_tls * dlink_bt can use TCP instead of Bluetooth for testing purposes * Bug fixes and additions to the test suite
Diffstat (limited to 'test/config/bt_backend.config')
-rw-r--r--test/config/bt_backend.config16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/config/bt_backend.config b/test/config/bt_backend.config
new file mode 100644
index 0000000..3bb266b
--- /dev/null
+++ b/test/config/bt_backend.config
@@ -0,0 +1,16 @@
+%% -*- erlang -*-
+[
+ {include_lib, "rvi_core/test/config/backend.config"},
+ {remove_apps, [dlink_tcp, dlink_tls]},
+
+ {set_env,
+ [
+ {rvi_core,
+ [
+ { [routing_rules, ""], {proto_json, dlink_bt_rpc} },
+ { [components, data_link], [{dlink_bt_rpc, gen_server,
+ [{server_opts, [{test_mode, tcp},
+ {port, 8007}]}]}]}
+ ]}
+ ]}
+].