diff --git a/tests/providers/prov-test-common.c b/tests/providers/prov-test-common.c
index 706a1b9..2607813 100644
--- a/tests/providers/prov-test-common.c
+++ b/tests/providers/prov-test-common.c
@@ -53,7 +53,7 @@ prov_test_common_setup ()
 			if (error->domain != 0) {
 				gchar *str = g_strdup_printf ("Could not setup connection: %s", 
 							      error->message ? error->message : "No detail");
-				fail (str);
+				g_warning ("%s", str);
 				g_free (str);
 				number_failed++;
 			}
@@ -68,7 +68,7 @@ prov_test_common_setup ()
 		if (!test_cnc_setup_db_structure (cnc, file, &error)) {
 			gchar *str = g_strdup_printf ("Could not setup database structure: %s", 
 						      error && error->message ? error->message : "No detail");
-			fail (str);
+			g_warning ("%s", str);
 			g_free (str);
 			if (error)
 				g_error_free (error);
diff --git a/tests/providers/prov-test-common.h b/tests/providers/prov-test-common.h
index 2a1c90b..95d4233 100644
--- a/tests/providers/prov-test-common.h
+++ b/tests/providers/prov-test-common.h
@@ -23,10 +23,6 @@
 #include <libgda/libgda.h>
 #include "prov-test-util.h"
 
-#define fail(x) g_warning ("%s", x)
-#define fail_if(x,y) if (x) g_warning ("%s", y)
-#define fail_unless(x,y) if (!(x)) g_warning ("%s", y)
-
 int prov_test_common_setup ();
 int prov_test_common_load_data ();
 int prov_test_common_check_meta ();
