summaryrefslogtreecommitdiff
path: root/www-client/epiphany/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-client/epiphany/files
reinit the tree, so we can have metadata
Diffstat (limited to 'www-client/epiphany/files')
-rw-r--r--www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch45
-rw-r--r--www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch30
2 files changed, 75 insertions, 0 deletions
diff --git a/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch b/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch
new file mode 100644
index 000000000000..36dcb30ce3bd
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch
@@ -0,0 +1,45 @@
+From 3d2ca8dfb33f9dd658293d14d6b75983d1d2f57d Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sun, 19 Oct 2014 23:06:29 +0200
+Subject: [PATCH 3/3] Disable broken tests
+
+Not the first time these are failing even though issue was reported
+upstream.
+---
+ tests/ephy-file-helpers-test.c | 4 ++--
+ tests/ephy-migration-test.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
+index bdf7455..718fa29 100644
+--- a/tests/ephy-file-helpers-test.c
++++ b/tests/ephy-file-helpers-test.c
+@@ -341,8 +341,8 @@ main (int argc, char *argv[])
+ g_test_add_func ("/lib/ephy-file-helpers/get_downloads_dir",
+ test_ephy_file_get_downloads_dir);
+
+- g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir",
+- test_ephy_file_create_delete_dir);
++ /*g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir",
++ test_ephy_file_create_delete_dir);*/
+
+ g_test_add_func ("/lib/ephy-file-helpers/desktop_dir",
+ test_ephy_file_desktop_dir);
+diff --git a/tests/ephy-migration-test.c b/tests/ephy-migration-test.c
+index fab9ee7..64cdd65 100644
+--- a/tests/ephy-migration-test.c
++++ b/tests/ephy-migration-test.c
+@@ -65,8 +65,8 @@ main (int argc, char *argv[])
+
+ g_test_add_func ("/lib/ephy-profile-utils/do_migration_simple",
+ test_do_migration_simple);
+- g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid",
+- test_do_migration_invalid);
++ /*g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid",
++ test_do_migration_invalid);*/
+
+ return g_test_run ();
+ }
+--
+2.1.2
+
diff --git a/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch b/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch
new file mode 100644
index 000000000000..baa8a421da13
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch
@@ -0,0 +1,30 @@
+From 7ed4a68e2106480f0984703f70b7c25734803161 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sun, 10 May 2015 17:35:57 +0200
+Subject: [PATCH 2/3] Gentoo tests run in ${PORTAGE_TMPDIR} which is not
+ guaranteed to be /tmp
+
+---
+ tests/ephy-file-helpers-test.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
+index 43d0009..0fcb585 100644
+--- a/tests/ephy-file-helpers-test.c
++++ b/tests/ephy-file-helpers-test.c
+@@ -89,12 +89,7 @@ test_ephy_file_helpers_init (void)
+
+ /* Cleanup dir left behind. */
+ if (keep_dir) {
+- /* As a safety measure, only try recursive delete on paths
+- * prefixed with /tmp. */
+- if (g_str_has_prefix (tmp_dir, "/tmp"))
+ g_assert (ephy_file_delete_dir_recursively (tmp_dir, NULL));
+- else
+- g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir);
+ }
+
+ g_free (tmp_dir);
+--
+2.3.6
+