[librsvg: 2/20] Set up the test fontmap in test_compare_render_output too
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/20] Set up the test fontmap in test_compare_render_output too
- Date: Thu, 21 Oct 2021 00:26:07 +0000 (UTC)
commit bcd8d9e47716ec092fab63fc7acc33a5a2ad0595
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Oct 19 16:56:28 2021 -0500
Set up the test fontmap in test_compare_render_output too
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/616>
tests/src/reference_utils.rs | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/tests/src/reference_utils.rs b/tests/src/reference_utils.rs
index 3cb9da84..1d700a4f 100644
--- a/tests/src/reference_utils.rs
+++ b/tests/src/reference_utils.rs
@@ -191,6 +191,8 @@ macro_rules! test_compare_render_output {
($test_name:ident, $width:expr, $height:expr, $test:expr, $reference:expr $(,)?) => {
#[test]
fn $test_name() {
+ crate::utils::setup_font_map();
+
let sx: i32 = $width;
let sy: i32 = $height;
let svg = load_svg($test).unwrap();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]