summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-gh.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/test-gh.c')
-rw-r--r--test-suite/standalone/test-gh.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/test-suite/standalone/test-gh.c b/test-suite/standalone/test-gh.c
index 7e030f4d3..78cf87fa5 100644
--- a/test-suite/standalone/test-gh.c
+++ b/test-suite/standalone/test-gh.c
@@ -67,11 +67,16 @@ test_gh_set_substr ()
assert (string_equal (string, "Frdarnitrnit!"));
}
-int
-main (int argc, char *argv[])
+static void
+tests (void *data, int argc, char **argv)
{
- scm_init_guile ();
test_gh_set_substr ();
+}
+
+int
+main (int argc, char *argv[])
+{
+ scm_boot_guile (argc, argv, tests, NULL);
return 0;
}