tests: Convert remaining module tests to not use test-runner.c

The remaining module tests don't need to fork and talk to a test client,
so just convert them to regular modules and let them handle running their
tests themselves.  Then drop test-runner.[ch].
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c
index 6e991ba..dbb8c8d 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -22,10 +22,12 @@
 
 #include <assert.h>
 
-#include "test-runner.h"
+#include "../src/compositor.h"
 
-TEST(surface_to_from_global)
+static void
+surface_to_from_global(void *data)
 {
+	struct weston_compositor *compositor = data;
 	struct weston_surface *surface;
 	float x, y;
 	wl_fixed_t fx, fy;
@@ -63,3 +65,15 @@
 
 	wl_display_terminate(compositor->wl_display);
 }
+
+WL_EXPORT int
+module_init(struct weston_compositor *compositor)
+{
+	struct wl_event_loop *loop;
+
+	loop = wl_display_get_event_loop(compositor->wl_display);
+
+	wl_event_loop_add_idle(loop, surface_to_from_global, compositor);
+
+	return 0;
+}