summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefrag.am4
-rw-r--r--configure.ac3
-rw-r--r--test/test_x86_double_fault.c28
3 files changed, 0 insertions, 35 deletions
diff --git a/Makefrag.am b/Makefrag.am
index 47b42958..36e751d4 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -157,10 +157,6 @@ if TEST_VM_PAGE_FILL
x15_SOURCES += test/test_vm_page_fill.c
endif TEST_VM_PAGE_FILL
-if TEST_X86_DOUBLE_FAULT
-x15_SOURCES += test/test_x86_double_fault.c
-endif TEST_X86_DOUBLE_FAULT
-
if TEST_XCALL
x15_SOURCES += test/test_xcall.c
endif TEST_XCALL
diff --git a/configure.ac b/configure.ac
index 57f07d12..88a00a61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,6 @@ m4_define([ENABLE_TEST_MODULE],
[sref_noref], [test_sref_noref=yes],
[sref_weakref], [test_sref_weakref=yes],
[vm_page_fill], [test_vm_page_fill=yes],
- [x86_double_fault], [test_x86_double_fault=yes],
[xcall], [test_xcall=yes],
[AC_MSG_ERROR([invalid test module])])
AC_DEFINE([X15_RUN_TEST_MODULE], [1],
@@ -101,8 +100,6 @@ AM_CONDITIONAL([TEST_SREF_WEAKREF],
[test x"$test_sref_weakref" = xyes])
AM_CONDITIONAL([TEST_VM_PAGE_FILL],
[test x"$test_vm_page_fill" = xyes])
-AM_CONDITIONAL([TEST_X86_DOUBLE_FAULT],
- [test x"$test_x86_double_fault" = xyes])
AM_CONDITIONAL([TEST_XCALL],
[test x"$test_xcall" = xyes])
diff --git a/test/test_x86_double_fault.c b/test/test_x86_double_fault.c
deleted file mode 100644
index 20596fed..00000000
--- a/test/test_x86_double_fault.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2014 Richard Braun.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- *
- * Cause a double fault, see that it's correctly handled.
- */
-
-#include <test/test.h>
-#include <machine/trap.h>
-
-void
-test_setup(void)
-{
- trap_trigger_double_fault();
-}