aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/test/wxt.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-04-15 10:21:03 +0200
committerDan Gudmundsson <[email protected]>2016-04-22 09:14:00 +0200
commiteeb1a534c7be3648d74f490a3daaccb6bbe8545a (patch)
treed30cbe869fd90d312857f44cafd39301c79e867f /lib/wx/test/wxt.erl
parent7604209d02278b5547ae42fb328bfbc7d9043963 (diff)
downloadotp-eeb1a534c7be3648d74f490a3daaccb6bbe8545a.tar.gz
otp-eeb1a534c7be3648d74f490a3daaccb6bbe8545a.tar.bz2
otp-eeb1a534c7be3648d74f490a3daaccb6bbe8545a.zip
wx test: Setup timetraps
and avoid large logs when tests succed
Diffstat (limited to 'lib/wx/test/wxt.erl')
-rw-r--r--lib/wx/test/wxt.erl12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/wx/test/wxt.erl b/lib/wx/test/wxt.erl
index fc828e47e8..265cd5c981 100644
--- a/lib/wx/test/wxt.erl
+++ b/lib/wx/test/wxt.erl
@@ -16,13 +16,9 @@
%% limitations under the License.
%%
%% %CopyrightEnd%
-%%%-------------------------------------------------------------------
-%%% File : wxt.erl
-%%% Author : Dan Gudmundsson <[email protected]>
-%%% Description : Shortcuts for starting test with wx internal test_server
-%%%
-%%% Created : 4 Nov 2008 by Dan Gudmundsson <[email protected]>
-%%%-------------------------------------------------------------------
+%%
+%% Description : Shortcuts for running tests with wx internal test_server
+%%-------------------------------------------------------------------
-module(wxt).
-compile(export_all).
@@ -40,7 +36,7 @@ t(Mod, TC) when is_atom(Mod), is_atom(TC) ->
t({Mod,TC}, []);
t(all, Config) when is_list(Config) ->
Fs = filelib:wildcard("wx_*_SUITE.erl"),
- t([list_to_atom(filename:rootname(File)) || File <- Fs], Config);
+ t([list_to_atom(filename:rootname(File)) || File <- Fs, File =/= "wx_app_SUITE.erl"], Config);
t(Test,Config) when is_list(Config) ->
Tests = resolve(Test),
write_test_case(Test),