[librsvg: 68/90] Print where the test suite is outputting test artifacts



commit 78d4865d96dff85619e6000251dd787328dda424
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 21 13:55:13 2019 -0600

    Print where the test suite is outputting test artifacts

 librsvg_crate/tests/utils/mod.rs | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/librsvg_crate/tests/utils/mod.rs b/librsvg_crate/tests/utils/mod.rs
index 7d9cc7fb..147fbd83 100644
--- a/librsvg_crate/tests/utils/mod.rs
+++ b/librsvg_crate/tests/utils/mod.rs
@@ -54,10 +54,14 @@ pub fn render_to_viewport<F: FnOnce(&cairo::Context)>(
 }
 
 pub fn output_dir() -> PathBuf {
-    PathBuf::from(
+    let path = PathBuf::from(
         env::var_os("OUT_DIR")
             .expect(r#"OUT_DIR is not set, please set it or run under "cargo test""#),
-    )
+    );
+
+    println!("outputting to {}", path.to_string_lossy());
+
+    path
 }
 
 pub fn compare_to_file(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]