diff options
author | Peter Andersson <[email protected]> | 2015-04-15 00:14:31 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-04-15 10:14:00 +0200 |
commit | 104f74b2b860f2d82547052ed65acca176ebe34c (patch) | |
tree | c5bc6742b3b23fe7e4832d1dbf4b6543998e16ac /lib/common_test/src | |
parent | 72d1fe572d3eb3748a86042a818d140f682ebc14 (diff) | |
download | otp-104f74b2b860f2d82547052ed65acca176ebe34c.tar.gz otp-104f74b2b860f2d82547052ed65acca176ebe34c.tar.bz2 otp-104f74b2b860f2d82547052ed65acca176ebe34c.zip |
Add tests for the get_testspec_terms functionality
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/ct_run.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl index f6afa423cc..33c4f352b0 100644 --- a/lib/common_test/src/ct_run.erl +++ b/lib/common_test/src/ct_run.erl @@ -1158,7 +1158,10 @@ run_all_specs([{Specs,TS} | TSs], Opts, StartOpts, TotResult) -> log_ts_names(Specs), Combined = #opts{config = TSConfig} = combine_test_opts(TS, Specs, Opts), AllConfig = merge_vals([Opts#opts.config, TSConfig]), - try run_one_spec(TS, Combined#opts{config = AllConfig}, StartOpts) of + try run_one_spec(TS, + Combined#opts{config = AllConfig, + current_testspec=TS}, + StartOpts) of Result -> run_all_specs(TSs, Opts, StartOpts, [Result | TotResult]) catch |