From: Ben Gras Date: Wed, 3 Feb 2010 14:27:16 +0000 (+0000) Subject: move benchmarks to their own dir. X-Git-Tag: v3.1.6~6 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=0561f59b77222a7679a670873a78ca8513427950;p=minix.git move benchmarks to their own dir. --- diff --git a/test/run-bench b/benchmarks/run similarity index 97% rename from test/run-bench rename to benchmarks/run index 55a3b54d2..887b40d96 100644 --- a/test/run-bench +++ b/benchmarks/run @@ -2,8 +2,6 @@ set -e -cd benchmarks - benchmarks=`echo *bench*` runbench() { diff --git a/test/benchmarks/unixbench-5.1.2/Makefile b/benchmarks/unixbench-5.1.2/Makefile similarity index 100% rename from test/benchmarks/unixbench-5.1.2/Makefile rename to benchmarks/unixbench-5.1.2/Makefile diff --git a/test/benchmarks/unixbench-5.1.2/README b/benchmarks/unixbench-5.1.2/README similarity index 100% rename from test/benchmarks/unixbench-5.1.2/README rename to benchmarks/unixbench-5.1.2/README diff --git a/test/benchmarks/unixbench-5.1.2/Run b/benchmarks/unixbench-5.1.2/Run similarity index 100% rename from test/benchmarks/unixbench-5.1.2/Run rename to benchmarks/unixbench-5.1.2/Run diff --git a/test/benchmarks/unixbench-5.1.2/USAGE b/benchmarks/unixbench-5.1.2/USAGE similarity index 100% rename from test/benchmarks/unixbench-5.1.2/USAGE rename to benchmarks/unixbench-5.1.2/USAGE diff --git a/test/benchmarks/unixbench-5.1.2/WRITING_TESTS b/benchmarks/unixbench-5.1.2/WRITING_TESTS similarity index 100% rename from test/benchmarks/unixbench-5.1.2/WRITING_TESTS rename to benchmarks/unixbench-5.1.2/WRITING_TESTS diff --git a/test/benchmarks/unixbench-5.1.2/pgms/gfx-x11 b/benchmarks/unixbench-5.1.2/pgms/gfx-x11 similarity index 100% rename from test/benchmarks/unixbench-5.1.2/pgms/gfx-x11 rename to benchmarks/unixbench-5.1.2/pgms/gfx-x11 diff --git a/test/benchmarks/unixbench-5.1.2/pgms/index.base b/benchmarks/unixbench-5.1.2/pgms/index.base similarity index 100% rename from test/benchmarks/unixbench-5.1.2/pgms/index.base rename to benchmarks/unixbench-5.1.2/pgms/index.base diff --git a/test/benchmarks/unixbench-5.1.2/pgms/multi.sh b/benchmarks/unixbench-5.1.2/pgms/multi.sh similarity index 100% rename from test/benchmarks/unixbench-5.1.2/pgms/multi.sh rename to benchmarks/unixbench-5.1.2/pgms/multi.sh diff --git a/test/benchmarks/unixbench-5.1.2/pgms/tst.sh b/benchmarks/unixbench-5.1.2/pgms/tst.sh similarity index 100% rename from test/benchmarks/unixbench-5.1.2/pgms/tst.sh rename to benchmarks/unixbench-5.1.2/pgms/tst.sh diff --git a/test/benchmarks/unixbench-5.1.2/pgms/unixbench.logo b/benchmarks/unixbench-5.1.2/pgms/unixbench.logo similarity index 100% rename from test/benchmarks/unixbench-5.1.2/pgms/unixbench.logo rename to benchmarks/unixbench-5.1.2/pgms/unixbench.logo diff --git a/test/benchmarks/unixbench-5.1.2/run.sh b/benchmarks/unixbench-5.1.2/run.sh similarity index 100% rename from test/benchmarks/unixbench-5.1.2/run.sh rename to benchmarks/unixbench-5.1.2/run.sh diff --git a/test/benchmarks/unixbench-5.1.2/src/arith.c b/benchmarks/unixbench-5.1.2/src/arith.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/arith.c rename to benchmarks/unixbench-5.1.2/src/arith.c diff --git a/test/benchmarks/unixbench-5.1.2/src/big.c b/benchmarks/unixbench-5.1.2/src/big.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/big.c rename to benchmarks/unixbench-5.1.2/src/big.c diff --git a/test/benchmarks/unixbench-5.1.2/src/context1.c b/benchmarks/unixbench-5.1.2/src/context1.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/context1.c rename to benchmarks/unixbench-5.1.2/src/context1.c diff --git a/test/benchmarks/unixbench-5.1.2/src/dhry.h b/benchmarks/unixbench-5.1.2/src/dhry.h similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/dhry.h rename to benchmarks/unixbench-5.1.2/src/dhry.h diff --git a/test/benchmarks/unixbench-5.1.2/src/dhry_1.c b/benchmarks/unixbench-5.1.2/src/dhry_1.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/dhry_1.c rename to benchmarks/unixbench-5.1.2/src/dhry_1.c diff --git a/test/benchmarks/unixbench-5.1.2/src/dhry_2.c b/benchmarks/unixbench-5.1.2/src/dhry_2.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/dhry_2.c rename to benchmarks/unixbench-5.1.2/src/dhry_2.c diff --git a/test/benchmarks/unixbench-5.1.2/src/dummy.c b/benchmarks/unixbench-5.1.2/src/dummy.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/dummy.c rename to benchmarks/unixbench-5.1.2/src/dummy.c diff --git a/test/benchmarks/unixbench-5.1.2/src/execl.c b/benchmarks/unixbench-5.1.2/src/execl.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/execl.c rename to benchmarks/unixbench-5.1.2/src/execl.c diff --git a/test/benchmarks/unixbench-5.1.2/src/fstime.c b/benchmarks/unixbench-5.1.2/src/fstime.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/fstime.c rename to benchmarks/unixbench-5.1.2/src/fstime.c diff --git a/test/benchmarks/unixbench-5.1.2/src/hanoi.c b/benchmarks/unixbench-5.1.2/src/hanoi.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/hanoi.c rename to benchmarks/unixbench-5.1.2/src/hanoi.c diff --git a/test/benchmarks/unixbench-5.1.2/src/looper.c b/benchmarks/unixbench-5.1.2/src/looper.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/looper.c rename to benchmarks/unixbench-5.1.2/src/looper.c diff --git a/test/benchmarks/unixbench-5.1.2/src/pipe.c b/benchmarks/unixbench-5.1.2/src/pipe.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/pipe.c rename to benchmarks/unixbench-5.1.2/src/pipe.c diff --git a/test/benchmarks/unixbench-5.1.2/src/spawn.c b/benchmarks/unixbench-5.1.2/src/spawn.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/spawn.c rename to benchmarks/unixbench-5.1.2/src/spawn.c diff --git a/test/benchmarks/unixbench-5.1.2/src/syscall.c b/benchmarks/unixbench-5.1.2/src/syscall.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/syscall.c rename to benchmarks/unixbench-5.1.2/src/syscall.c diff --git a/test/benchmarks/unixbench-5.1.2/src/time-polling.c b/benchmarks/unixbench-5.1.2/src/time-polling.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/time-polling.c rename to benchmarks/unixbench-5.1.2/src/time-polling.c diff --git a/test/benchmarks/unixbench-5.1.2/src/timeit.c b/benchmarks/unixbench-5.1.2/src/timeit.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/timeit.c rename to benchmarks/unixbench-5.1.2/src/timeit.c diff --git a/test/benchmarks/unixbench-5.1.2/src/ubgears.c b/benchmarks/unixbench-5.1.2/src/ubgears.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/ubgears.c rename to benchmarks/unixbench-5.1.2/src/ubgears.c diff --git a/test/benchmarks/unixbench-5.1.2/src/whets.c b/benchmarks/unixbench-5.1.2/src/whets.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/src/whets.c rename to benchmarks/unixbench-5.1.2/src/whets.c diff --git a/test/benchmarks/unixbench-5.1.2/testdir/cctest.c b/benchmarks/unixbench-5.1.2/testdir/cctest.c similarity index 100% rename from test/benchmarks/unixbench-5.1.2/testdir/cctest.c rename to benchmarks/unixbench-5.1.2/testdir/cctest.c diff --git a/test/benchmarks/unixbench-5.1.2/testdir/dc.dat b/benchmarks/unixbench-5.1.2/testdir/dc.dat similarity index 100% rename from test/benchmarks/unixbench-5.1.2/testdir/dc.dat rename to benchmarks/unixbench-5.1.2/testdir/dc.dat diff --git a/test/benchmarks/unixbench-5.1.2/testdir/large.txt b/benchmarks/unixbench-5.1.2/testdir/large.txt similarity index 100% rename from test/benchmarks/unixbench-5.1.2/testdir/large.txt rename to benchmarks/unixbench-5.1.2/testdir/large.txt diff --git a/test/benchmarks/unixbench-5.1.2/testdir/sort.src b/benchmarks/unixbench-5.1.2/testdir/sort.src similarity index 100% rename from test/benchmarks/unixbench-5.1.2/testdir/sort.src rename to benchmarks/unixbench-5.1.2/testdir/sort.src diff --git a/test/Makefile b/test/Makefile index 463b18635..50097cf6a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -17,7 +17,7 @@ ROOTOBJ= test11 test33 test43 test46 GCCOBJ= test45-gcc test49-gcc all: $(OBJ) $(BIGOBJ) $(GCCOBJ) $(ROOTOBJ) Benchmarks - chmod 755 *.sh run run-bench + chmod 755 *.sh run Benchmarks: cd benchmarks && for d in *bench*; do cd $$d && $(MAKE) || exit 1; done