This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tarantool -- an efficient key/value data store".
The branch master has been updated
via f111b897671313f2db83bd8b74b344b55a199eef (commit)
via 61b4da22841f8ef10190640fa72b510521880d61 (commit)
from 2accd5a1b262836359b913a5ca0b84f2923648c5 (commit)
Summary of changes:
README | 16 +++++++++++-----
test/lib/test_suite.py | 5 +++++
test/test-run.py | 5 +++--
3 files changed, 19 insertions(+), 7 deletions(-)
commit f111b897671313f2db83bd8b74b344b55a199eef
Author: Konstantin Osipov <[email protected]>
Date: Fri Feb 25 13:19:06 2011 +0300
test-run.py: return a non-zero exit status on failue
Return a non-zero exit status if there are test
failures, even if run with --force. This necessary to
correctly identify a test failure in buildbot run.
diff --git a/test/lib/test_suite.py b/test/lib/test_suite.py
index 6608c64..6a4bec8 100644
--- a/test/lib/test_suite.py
+++ b/test/lib/test_suite.py
@@ -296,4 +296,9 @@ class TestSuite:
if self.args.valgrind and check_valgrind_log(self.ini["valgrind_log"]):
print " Error! There were warnings/errors in valgrind log file:"
print_tail_n(self.ini["valgrind_log"], 20)
+ return 1
+
+ return len(failed_tests)
+
+
diff --git a/test/test-run.py b/test/test-run.py
index 69ecdfa..78bd629 100755
--- a/test/test-run.py
+++ b/test/test-run.py
@@ -147,6 +147,7 @@ def main():
# Change the current working directory to where all test
# collections are supposed to reside.
os.chdir(os.path.dirname(sys.argv[0]))
+ failed_tests = 0
try:
print "Started", " ".join(sys.argv)
@@ -155,14 +156,14 @@ def main():
suites.append(TestSuite(suite_name, options.args))
for suite in suites:
- suite.run_all()
+ failed_tests = suite.run_all()
except RuntimeError as e:
print "\nFatal error: {0}. Execution aborted.".format(e)
return (-1)
finally:
os.chdir(oldcwd)
- return 0
+ return -failed_tests
if __name__ == "__main__":
exit(main())
commit 61b4da22841f8ef10190640fa72b510521880d61
Author: Konstantin Osipov <[email protected]>
Date: Fri Feb 25 12:25:43 2011 +0300
Update README with a list of required Python modules.
diff --git a/README b/README
index 9cb11a1..324f687 100644
--- a/README
+++ b/README
@@ -34,14 +34,20 @@ mod/silverbox.
There is no 'make install' goal, but no installation
is required either.
-The simplest way to get started is to use the regression testing
-framework (test/test-run.py) to setup and start the server:
+Tarantool regression testing framework (test/test-run.py) is the
+simplest way to setup and start the server, but it requires a few
+additional Python modules:
+ * daemon
+ * pyyaml
+ * pexpect.
+
+Once all pre-requisites are installed, try:
tarantool $ cd test && ./test-run.py --start-and-exit
-This creates a 'var' subdirectory in directory 'test',
-populates it with necessary files used by the server, and
-starts the server. To connect, you could use
+This will create a 'var' subdirectory in directory 'test',
+populate it with necessary files used by the server, and
+start the server. To connect, you could use
a simplistic command-line client:
tarantool $ ./test/tarantool
--
Tarantool -- an efficient key/value data store
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp