From cdb3bb9ebf4b500970d6287740ccdbb362180120 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 2 Jun 2008 17:06:52 -0700 Subject: [PATCH] Remove vestigial support for auto-running unit tests. These hadn't worked for a long time. --- datapath/linux-2.4/Makefile.in | 1 - datapath/linux-2.6/Makefile.main.in | 1 - datapath/run-unit-tests | 64 ----------------------------- 3 files changed, 66 deletions(-) delete mode 100755 datapath/run-unit-tests diff --git a/datapath/linux-2.4/Makefile.in b/datapath/linux-2.4/Makefile.in index 36ff0478..1a68376c 100644 --- a/datapath/linux-2.4/Makefile.in +++ b/datapath/linux-2.4/Makefile.in @@ -2,7 +2,6 @@ builddir = @abs_builddir@ srcdir = @abs_srcdir@ top_srcdir = @abs_top_srcdir@ KSRC = @KSRC24@ -VMDIR = @VMDIR@ VERSION = @VERSION@ # The names vpath and VPATH are very special for GNU Make and Automake. diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index d6768a7f..10ea36e1 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -3,7 +3,6 @@ export builddir = @abs_builddir@ export srcdir = @abs_srcdir@ export top_srcdir = @abs_top_srcdir@ export KSRC = @KSRC26@ -export VMDIR = @VMDIR@ export VERSION = @VERSION@ include $(srcdir)/../Modules.mk diff --git a/datapath/run-unit-tests b/datapath/run-unit-tests deleted file mode 100755 index 85257fcb..00000000 --- a/datapath/run-unit-tests +++ /dev/null @@ -1,64 +0,0 @@ -#! /bin/sh -ex - -fail () { - echo "$@" - exit 1 -} - -test -n "$VMDIR" || fail "must pass --with-vm to configure to run unit tests" - -rm -rf tmp -mkdir tmp -cd tmp - -ln -s $KSRC/arch/i386/boot/bzImage kernel.bin -ln -s $VMDIR/hda.dsk hda.dsk - -cat > unit.conf < unit.cd/runme <