- Dec 27, 2010
-
-
Roman Tokarev authored
-
Roman Tokarev authored
-
Roman Tokarev authored
-
Roman Tokarev authored
Conflicts: cfg/warning.c core/tarantool.c include/say.h include/tarantool.h
-
- Dec 23, 2010
-
-
Yuriy Vostrikov authored
* core-error-reporting: [core] Fix wording. [core] Cleanup error reporting.
-
Yuriy Vostrikov authored
* core-help: [core] Simplify tests. [core] Align help to fit 80 chars. Add more tests. Fix indening. Bug#684700 -h and --help options are broken Bug#684700 -h and --help options are broken Bug#684700 -h and --help options are broken [core] Implement command options parsing via gopt. [core] Enable --help switch.
-
Yuriy Vostrikov authored
-
- Dec 22, 2010
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
- Dec 20, 2010
-
-
Konstantin Osipov authored
Merge with the master (new version of the test-runner). Fix failing tests.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Post-review fixes: realign help text to match exactly GNU tools (21st column), reorder help messages to provide most relvant options first, edit help text, print values for default options.
-
Konstantin Osipov authored
Style edits of gopt option library: add API comments, remove trailing spaces.
-
- Dec 17, 2010
-
-
Konstantin Osipov authored
Fir a formatting bug accidentally introduced by the previous patch.
-
Konstantin Osipov authored
Provide better diagnostics when we can't even enter the directory where we expect to find the server binary.
-
Konstantin Osipov authored
Add coverage for (almost) all admin options. @todo: test 'exit' Add coverage for more test options. Make test results more host-independent. Extend lib/test_suite.py: if we filtered out entire line from the result, don't write newline to the result file.
-
- Dec 16, 2010
-
-
Konstantin Osipov authored
Conflicts: doc/silverbox-protocol.txt
-
Konstantin Osipov authored
Split results from .test files into .result files. Make each individual test a small python program, which is executed from the context of the main interpreter. This allows for easy access to interpreter environment, such as the currently running server. Implement a pre-processor for .test files that replaces exec admin <expr> and exec sql <expr> with python syntax that actually sends string <expr> to tarantool server connection (lib.admin.Connection), and prints output to stdout (i.e. .reject file). Implement stdout filters, for use in .test files: this enables testing of statement that produce run-dependent or host-dependent results. Remove 'cmd' suite as unnecessary, args.test is moved to box.suite. @todo: make results of the test host-independent. Fix a bug in lib.admin.Connection (administrative connection) when it would block and indefinitely wait for response for some administrative commands.
-
- Dec 14, 2010
-
-
Konstantin Osipov authored
Add test/lib/ for python modules. Create the first module that implements admin connection. Automatically read host and port and pidfile from tarantool configuration file, and thus remove them from suite.ini. Change .gitignore and remove a too broad ignore mask (it ignored __init__.py, which is mandatory file name for a module in python). Fix a bug in config reader for tarantool that would leave "box.pid" in quotes. Move TestSuite and Test to a lib/ module. Patch cmdline.py and ./admin.py to read input in line-buffered fashion (used to be block-buffered), regardless of whether input is a terminal or a pipe. This allows to work with these tools interactively.
-
Yuriy Vostrikov authored
-
- Dec 13, 2010
-
-
Konstantin Osipov authored
Update silverbox protocol description to use BNF. Add more comments. Explain semantics of protocol fields and restrictions on field content.
-
Yuriy Vostrikov authored
-
Roman Tokarev authored
-
Konstantin Osipov authored
Update silverbox protocol description to use BNF. Add more comments. Explain semantics of protocol fields and restrictions on field content.
-
Yuriy Vostrikov authored
-
Konstantin Osipov authored
When called from a non-default location (non-working directory), print usage, tell where to invoke the program from, and bail out.
-
- Dec 10, 2010
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add a new test suite, cmd. Add a new driver for this suite, cmdline.py. This driver reads arguments from the test, and executes the server with these arguments. Server output is passed on as test result. @todo: It's not necessary to start/stop the server for 'cmd' suite. Will be fixed when how to start/stop server is defined in suite.ini (we'll then be able to define a no-op start/stop routines). @todo tarantool_silverbox output is hard to auto-verify since it contains the current time and process id. Either implement a way to mask out pieces of output from the result file (preferrable), or change tarantool to not output volatile data. test-run.py modified: we now can preprocess suite.ini "client" parameters, and substitute $constants in them, e.g. $server. @todo: provide ability to substitute $constants in .test files as well.
-
- Dec 09, 2010
-
-
Konstantin Osipov authored
Provide options to admin.py to use it not just as a test console, but aslo as an interactive client.
-
Yuriy Vostrikov authored
* u64-indexes: [box] Add kostja's comments and simplify field_compare. [box] Correctly compare multicolumn indeces with NUM64 keys. [box] Remove experemental code. [box] Add support of u64 hash index. [box] Rename khash structures in more consistent way. [box] Add suport of u64 hash indeces.
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Delete a temporary file used for build.
-
- Dec 08, 2010
-
-
Konstantin Osipov authored
Fix 'make test' failure after pull from master.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Test runner: provide better comments, add a summary of failing tests when running with --force. Change indentation.
-
- Dec 07, 2010
-
-
Yuriy Vostrikov authored
-
Roman Tokarev authored
-
Yuriy Vostrikov authored
-