aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/ts_benchmark.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-08-08 10:28:48 +0200
committerLukas Larsson <[email protected]>2013-08-08 10:28:48 +0200
commitd787e64c8cf522b0f2fa2e26e0be154454fae4a8 (patch)
tree83a3c146f6f5e8ec000d8cb0d28a07c9dc17c24c /lib/test_server/src/ts_benchmark.erl
parent3fbbe6760a0476fccc2375dc8ca5791546dbc876 (diff)
parent86f970056b55ab8c33ecb6d0ce13924e3331b79a (diff)
downloadotp-d787e64c8cf522b0f2fa2e26e0be154454fae4a8.tar.gz
otp-d787e64c8cf522b0f2fa2e26e0be154454fae4a8.tar.bz2
otp-d787e64c8cf522b0f2fa2e26e0be154454fae4a8.zip
Merge branch 'lukas/smoketests/OTP-11221' into maint
* lukas/smoketests/OTP-11221: Add smoke tests
Diffstat (limited to 'lib/test_server/src/ts_benchmark.erl')
-rw-r--r--lib/test_server/src/ts_benchmark.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/test_server/src/ts_benchmark.erl b/lib/test_server/src/ts_benchmark.erl
index 516d22fd2d..bd6abc3372 100644
--- a/lib/test_server/src/ts_benchmark.erl
+++ b/lib/test_server/src/ts_benchmark.erl
@@ -30,12 +30,7 @@
benchmarks() ->
{ok, Cwd} = file:get_cwd(),
- Benches = filelib:wildcard(
- filename:join([Cwd,"..","*_test","*_bench.spec"])),
- [begin
- Base = filename:basename(N),
- list_to_atom(string:substr(Base,1,string:rstr(Base,"_")-1))
- end || N <- Benches].
+ ts_lib:specialized_specs(Cwd,"bench").
run(Specs, Opts, Vars) ->
{ok, Cwd} = file:get_cwd(),