aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/ts_benchmark.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-07-30 14:53:00 +0200
committerLukas Larsson <[email protected]>2013-08-05 10:49:26 +0200
commit86f970056b55ab8c33ecb6d0ce13924e3331b79a (patch)
treee5e6834077d0a2fe810e56fa77669986b5068022 /lib/test_server/src/ts_benchmark.erl
parenta938fc96881564f5f56a510b0c750efaa9ed48e4 (diff)
downloadotp-86f970056b55ab8c33ecb6d0ce13924e3331b79a.tar.gz
otp-86f970056b55ab8c33ecb6d0ce13924e3331b79a.tar.bz2
otp-86f970056b55ab8c33ecb6d0ce13924e3331b79a.zip
Add smoke tests
Smoke tests are meant to verify that a build of erlang has been successfull.
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(),