/* Self tests for scoped_restore for GDB, the GNU debugger.
- Copyright (C) 2017 Free Software Foundation, Inc.
+ Copyright (C) 2017-2020 Free Software Foundation, Inc.
This file is part of GDB.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "selftest.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/scoped_restore.h"
namespace selftests {
namespace scoped_restore_tests {
} /* namespace scoped_restore_tests */
} /* namespace selftests */
+void _initialize_scoped_restore_selftests ();
void
_initialize_scoped_restore_selftests ()
{
- register_self_test (selftests::scoped_restore_tests::run_tests);
+ selftests::register_test ("scoped_restore",
+ selftests::scoped_restore_tests::run_tests);
}