aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/ephy-download-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index d2b986319..7c92184d6 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -145,6 +145,7 @@ test_ephy_download_new_for_uri (Fixture *fixture, gconstpointer data)
ephy_download_get_source_uri (fixture->download));
}
+#ifndef HAVE_WEBKIT2
static void
test_ephy_download_start (Fixture *fixture, gconstpointer data)
{
@@ -154,6 +155,7 @@ test_ephy_download_start (Fixture *fixture, gconstpointer data)
ephy_download_start (fixture->download);
g_main_loop_run (fixture->loop);
}
+#endif
int
main (int argc, char *argv[])
@@ -188,9 +190,11 @@ main (int argc, char *argv[])
g_test_add ("/embed/ephy-download/new_for_uri",
Fixture, NULL, fixture_setup,
test_ephy_download_new_for_uri, fixture_teardown);
+#ifndef HAVE_WEBKIT2
g_test_add ("/embed/ephy-download/start",
Fixture, NULL, fixture_setup,
test_ephy_download_start, fixture_teardown);
+#endif
ret = g_test_run ();