aboutsummaryrefslogtreecommitdiff
path: root/gdb/selftest.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/selftest.h')
-rw-r--r--gdb/selftest.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/selftest.h b/gdb/selftest.h
index 94684ff..8a01a5d 100644
--- a/gdb/selftest.h
+++ b/gdb/selftest.h
@@ -24,14 +24,19 @@
typedef void self_test_function (void);
+namespace selftests
+{
+
/* Register a new self-test. */
-extern void register_self_test (self_test_function *function);
+extern void register_test (self_test_function *function);
/* Run all the self tests. This print a message describing the number
of test and the number of failures. */
-extern void run_self_tests (void);
+extern void run_tests (void);
+
+}
/* Check that VALUE is true, and, if not, throw an exception. */