diff options
author | Björn Gustavsson <[email protected]> | 2015-02-24 07:32:33 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-02-25 15:14:35 +0100 |
commit | 2c1514501519be143b335e594b69636593070a37 (patch) | |
tree | f4dc07622dcbb884c1bb800dd8d21b1e4a7a1752 /lib | |
parent | 7a42d7ee12cba812367682ee49eaf33d33991960 (diff) | |
download | otp-2c1514501519be143b335e594b69636593070a37.tar.gz otp-2c1514501519be143b335e594b69636593070a37.tar.bz2 otp-2c1514501519be143b335e594b69636593070a37.zip |
test_server: Sort cover-analysed modules
'cover' has changed so that the analyzed results are returned in
random order, which is annyoying. Sort the list so that modules
appear in alphabetical order.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test_server/src/test_server.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_server/src/test_server.erl b/lib/test_server/src/test_server.erl index 1d989ce9c8..a4f7d24540 100644 --- a/lib/test_server/src/test_server.erl +++ b/lib/test_server/src/test_server.erl @@ -266,9 +266,9 @@ cover_analyse(Dir,#cover{level=Analyse,mods=Modules,stop=Stop}) -> end end, {result,AOk,AFail} = cover:analyse(Modules,module), - R = merge_analysis_results(AOk,ATFOk++ATFFail,[]) ++ + R0 = merge_analysis_results(AOk,ATFOk++ATFFail,[]) ++ [{M,{error,Reason}} || {Reason,M} <- AFail], - + R = lists:sort(R0), io:fwrite(user, "done\n\n", []), case Stop of |