aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/test/reltool_test_lib.hrl
diff options
context:
space:
mode:
authorHåkan Mattsson <[email protected]>2010-04-22 09:30:12 +0200
committerHåkan Mattsson <[email protected]>2010-04-22 15:43:58 +0200
commite57e7f332fcf9ea26a7f7536b18a24181b680463 (patch)
tree0ae19cefbed304f186cd75df2ccc82e047856615 /lib/reltool/test/reltool_test_lib.hrl
parent2f304e221f790af9b0bf15d9ea8f8f447159351e (diff)
downloadotp-e57e7f332fcf9ea26a7f7536b18a24181b680463.tar.gz
otp-e57e7f332fcf9ea26a7f7536b18a24181b680463.tar.bz2
otp-e57e7f332fcf9ea26a7f7536b18a24181b680463.zip
Make some cleanups
Diffstat (limited to 'lib/reltool/test/reltool_test_lib.hrl')
-rw-r--r--lib/reltool/test/reltool_test_lib.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reltool/test/reltool_test_lib.hrl b/lib/reltool/test/reltool_test_lib.hrl
index 93134144ea..60032030ad 100644
--- a/lib/reltool/test/reltool_test_lib.hrl
+++ b/lib/reltool/test/reltool_test_lib.hrl
@@ -18,6 +18,7 @@
-include_lib("wx/include/wx.hrl").
+-define(flat_format(Format,Args), lists:flatten(io_lib:format(Format,Args))).
-define(log(Format,Args), reltool_test_lib:log(Format,Args,?FILE,?LINE)).
-define(warning(Format,Args), ?log("<WARNING>\n " ++ Format,Args)).
-define(error(Format,Args), reltool_test_lib:error(Format,Args,?FILE,?LINE)).