diff options
author | Björn Gustavsson <[email protected]> | 2015-02-27 10:23:52 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-02-27 10:23:52 +0100 |
commit | 80e4d9cfe43c46a3206cc169cbe2c8fb17821f25 (patch) | |
tree | 6ec40144574ee6f2ea08e17ba5220892ed4f5014 /lib/test_server/src/test_server.erl | |
parent | 9e05389d2b3733d0480d50d68d4583a8af59841a (diff) | |
parent | 2c1514501519be143b335e594b69636593070a37 (diff) | |
download | otp-80e4d9cfe43c46a3206cc169cbe2c8fb17821f25.tar.gz otp-80e4d9cfe43c46a3206cc169cbe2c8fb17821f25.tar.bz2 otp-80e4d9cfe43c46a3206cc169cbe2c8fb17821f25.zip |
Merge branch 'bjorn/cover'
* bjorn/cover:
test_server: Sort cover-analysed modules
cover: Optimize file operations
Diffstat (limited to 'lib/test_server/src/test_server.erl')
-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 |