git » nmdb » commit 7860b77

Move the tests to tests/c.

author Alberto Bertogli
2007-06-17 07:50:32 UTC
committer Alberto Bertogli
2007-06-17 07:50:32 UTC
parent 3037f97cf1a57732b061fb35766f4151b639ab63

Move the tests to tests/c.

We're about to introduce Python tests, so move the current ones into the
"c/" directory.


Signed-off-by: Alberto Bertogli <albertito@gmail.com>

README +2 -3
tests/{ => c}/1.c +0 -0
tests/{ => c}/2.c +0 -0
tests/{ => c}/3.c +0 -0
tests/{ => c}/build.sh +0 -0
tests/{ => c}/prototypes.h +0 -0
tests/{ => c}/test_functions.sh +0 -0
tests/{ => c}/timer.h +0 -0

diff --git a/README b/README
index 47f8748..e8bd54e 100644
--- a/README
+++ b/README
@@ -43,9 +43,8 @@ Requisites:
 To compile the server and the library, you can just use "make" on their
 directories. To install them, use "make install".
 
-To run some tests, start the server and then go to the "tests/" directory. Run
-"make", and then use the "test1c" and "test2c" to test the cache layer, and
-"test1d" and "test2d" to test the database backend.
+To run some tests, start the server and then go to the "tests/c/" directory.
+Run "build.sh build" and then run any of the generated tests.
 
 To compile the Python bindings, you need to have the library already
 installed. Go to the directory and run "python setup.py install", which will
diff --git a/tests/1.c b/tests/c/1.c
similarity index 100%
rename from tests/1.c
rename to tests/c/1.c
diff --git a/tests/2.c b/tests/c/2.c
similarity index 100%
rename from tests/2.c
rename to tests/c/2.c
diff --git a/tests/3.c b/tests/c/3.c
similarity index 100%
rename from tests/3.c
rename to tests/c/3.c
diff --git a/tests/build.sh b/tests/c/build.sh
similarity index 100%
rename from tests/build.sh
rename to tests/c/build.sh
diff --git a/tests/prototypes.h b/tests/c/prototypes.h
similarity index 100%
rename from tests/prototypes.h
rename to tests/c/prototypes.h
diff --git a/tests/test_functions.sh b/tests/c/test_functions.sh
similarity index 100%
rename from tests/test_functions.sh
rename to tests/c/test_functions.sh
diff --git a/tests/timer.h b/tests/c/timer.h
similarity index 100%
rename from tests/timer.h
rename to tests/c/timer.h