servo: Fix path calculations in reftest
authorBrian Anderson <banderson@mozilla.com>
Thu, 06 Sep 2012 17:05:14 -0700
changeset 361886 62bd2d0a19fab81bcddf25455461cb9599b5d304
parent 361885 90e4a83d376468b9a6e41b90c9aac825333d0db5
child 361887 2f81afdfc3e1c0dff100ad98763356197bf36dfd
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
servo: Fix path calculations in reftest Source-Repo: https://github.com/servo/servo Source-Revision: aa9fc2483f072450bc8981679bcb0d95b8d7cce2
servo/src/reftest/reftest.rs
--- a/servo/src/reftest/reftest.rs
+++ b/servo/src/reftest/reftest.rs
@@ -46,17 +46,17 @@ fn test_options(config: Config) -> TestO
         run_ignored: false,
         logfile: None
     }
 }
 
 fn find_tests(config: Config) -> ~[TestDesc] {
     let all_files = list_dir_path(&Path(config.source_dir));
     let html_files = all_files.filter( |file| file.to_str().ends_with(".html") );
-    return html_files.map(|file| make_test(config, file.to_str()) );
+    return html_files.map(|file| make_test(config, (*file).to_str()) );
 }
 
 fn make_test(config: Config, file: ~str) -> TestDesc {
     let directives = load_test_directives(file);
 
     {
         name: file,
         fn: fn~() { run_test(config, file) },