Skip to content
Snippets Groups Projects
  1. Dec 27, 2010
  2. Dec 23, 2010
    • Yuriy Vostrikov's avatar
      Merge branch 'core-error-reporting' · 42d06374
      Yuriy Vostrikov authored
      * core-error-reporting:
        [core] Fix wording.
        [core] Cleanup error reporting.
      42d06374
    • Yuriy Vostrikov's avatar
      Merge branch 'core-help' · 8ead4479
      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.
      8ead4479
    • Yuriy Vostrikov's avatar
      [core] Fix wording. · e6bb650b
      Yuriy Vostrikov authored
      e6bb650b
  3. Dec 22, 2010
  4. Dec 20, 2010
  5. Dec 17, 2010
  6. Dec 16, 2010
    • Konstantin Osipov's avatar
      Merge remote branch 'origin/test-runner' into test-runner · 9db2803c
      Konstantin Osipov authored
      Conflicts:
      	doc/silverbox-protocol.txt
      9db2803c
    • Konstantin Osipov's avatar
      Test-runner: tests in Python dialect · 87bd27a3
      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.
      87bd27a3
  7. Dec 14, 2010
    • Konstantin Osipov's avatar
      Test-runner: next increment. · 53cb9701
      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.
      53cb9701
    • Yuriy Vostrikov's avatar
      [core] Cleanup error reporting. · 8cf4386e
      Yuriy Vostrikov authored
      8cf4386e
  8. Dec 13, 2010
  9. Dec 10, 2010
    • Konstantin Osipov's avatar
      Merge branch 'master' into test-runner · cf9cc2df
      Konstantin Osipov authored
      cf9cc2df
    • Konstantin Osipov's avatar
      Test runner: add tests for command line arguments. · 44f5399b
      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.
      44f5399b
  10. Dec 09, 2010
  11. Dec 08, 2010
  12. Dec 07, 2010
Loading