diff options
author | Lukas Larsson <[email protected]> | 2013-07-30 14:53:00 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-08-05 10:49:26 +0200 |
commit | 86f970056b55ab8c33ecb6d0ce13924e3331b79a (patch) | |
tree | e5e6834077d0a2fe810e56fa77669986b5068022 /lib/test_server/src/ts_benchmark.erl | |
parent | a938fc96881564f5f56a510b0c750efaa9ed48e4 (diff) | |
download | otp-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.erl | 7 |
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(), |