From 0561f59b77222a7679a670873a78ca8513427950 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 3 Feb 2010 14:27:16 +0000 Subject: [PATCH] move benchmarks to their own dir. --- test/run-bench => benchmarks/run | 2 -- {test/benchmarks => benchmarks}/unixbench-5.1.2/Makefile | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/README | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/Run | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/USAGE | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/WRITING_TESTS | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/gfx-x11 | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/index.base | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/multi.sh | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/tst.sh | 0 .../unixbench-5.1.2/pgms/unixbench.logo | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/run.sh | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/arith.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/big.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/context1.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry.h | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry_1.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry_2.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dummy.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/execl.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/fstime.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/hanoi.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/looper.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/pipe.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/spawn.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/syscall.c | 0 .../unixbench-5.1.2/src/time-polling.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/timeit.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/ubgears.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/src/whets.c | 0 .../benchmarks => benchmarks}/unixbench-5.1.2/testdir/cctest.c | 0 {test/benchmarks => benchmarks}/unixbench-5.1.2/testdir/dc.dat | 0 .../benchmarks => benchmarks}/unixbench-5.1.2/testdir/large.txt | 0 .../benchmarks => benchmarks}/unixbench-5.1.2/testdir/sort.src | 0 test/Makefile | 2 +- 35 files changed, 1 insertion(+), 3 deletions(-) rename test/run-bench => benchmarks/run (97%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/Makefile (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/README (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/Run (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/USAGE (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/WRITING_TESTS (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/gfx-x11 (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/index.base (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/multi.sh (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/tst.sh (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/pgms/unixbench.logo (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/run.sh (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/arith.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/big.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/context1.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry.h (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry_1.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dhry_2.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/dummy.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/execl.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/fstime.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/hanoi.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/looper.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/pipe.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/spawn.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/syscall.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/time-polling.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/timeit.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/ubgears.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/src/whets.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/testdir/cctest.c (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/testdir/dc.dat (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/testdir/large.txt (100%) rename {test/benchmarks => benchmarks}/unixbench-5.1.2/testdir/sort.src (100%) 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 -- 2.44.0