diff options
author | Peter Andersson <[email protected]> | 2010-07-05 23:38:58 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2010-07-06 02:44:27 +0200 |
commit | 311ed3490b2b9dc93433827a3941c14e40f41a2e (patch) | |
tree | 69bc946aa0a3677abde5d4d4acd75d007b96516f /lib/common_test/src/ct_framework.erl | |
parent | ab61ffca8dda3ae387e479bb5ef4f40bd22cc6e9 (diff) | |
download | otp-311ed3490b2b9dc93433827a3941c14e40f41a2e.tar.gz otp-311ed3490b2b9dc93433827a3941c14e40f41a2e.tar.bz2 otp-311ed3490b2b9dc93433827a3941c14e40f41a2e.zip |
Fix bug that crashes common_test when running cover
Diffstat (limited to 'lib/common_test/src/ct_framework.erl')
-rw-r--r-- | lib/common_test/src/ct_framework.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index 4104115484..f2ca023cff 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -1247,9 +1247,8 @@ overview_html_header(TestName) -> true -> ""; false -> - CTPath = ct_util:get_ct_root(), - TileFile = filename:join(filename:join(filename:join(CTPath), - "priv"),"tile1.jpg"), + CTPath = code:lib_dir(common_test), + TileFile = filename:join(filename:join(CTPath,"priv"),"tile1.jpg"), " background=\"" ++ TileFile ++ "\"" end, |