An error occurred fetching the project authors.
  1. 09 May, 2011 1 commit
    • Bjorn Munch's avatar
      WL #5680 MTR results written to file with well defined format · cb15b071
      Bjorn Munch authored
      Added --result-file option, which will produce var/mtr-results.txt
      Output has a simple format:
      
      <tag> : <value>  for general info on test run
      {
        <tag> : <value>
        ....
      }                for each test
      
      Output from failed tests are included but may be truncated.
      See WL for more details.
      cb15b071
  2. 28 Feb, 2011 1 commit
  3. 21 Feb, 2011 1 commit
    • Bjorn Munch's avatar
      Bug #11766640 (59789) Hook the invocation of unit tests in MTR. · 2c4f6e5c
      Bjorn Munch authored
      Added code to call 'ctest' if the needed cmake file is present
      Will do so unless tests/suited named on mtr command line
      Also add option to turn on/off
      Will be made to look like a test 'unit-test' which counts towards total
      Extracts summary report and any test failures from ctest output
      Addendum: added override to turn off in PB, add back in selected invocations
      2c4f6e5c
  4. 18 Jan, 2011 1 commit
  5. 12 Jan, 2011 1 commit
  6. 11 Jan, 2011 1 commit
  7. 20 Sep, 2010 1 commit
  8. 10 Jun, 2010 1 commit
  9. 04 Nov, 2009 1 commit
    • Bjorn Munch's avatar
      Bug #47663 mtr --parallel has weird output · afb8b414
      Bjorn Munch authored
      Some output is written, some is not
      Finally concluded it's a Perl bug: after running with parallel threads
        for a while, print suddenly ignores all but the first argument.
      Workaround: concatenate all the arguments into one, except in output that
        only comes before we start running tests
      afb8b414
  10. 26 Oct, 2009 1 commit
  11. 17 Oct, 2009 1 commit
  12. 03 Sep, 2009 1 commit
  13. 02 Jun, 2009 1 commit
  14. 28 May, 2009 1 commit
  15. 23 Apr, 2009 1 commit
    • Vladislav Vaintroub's avatar
      Bug #42804 --parallel option does not work for MTR under ActiveState · 2943d2b7
      Vladislav Vaintroub authored
      perl 
      
      The problem here was the method how MTR gets its unique thread ids.
      Prior to this patch, the method to do it was to maintain a global 
      table of pid,mtr_unique_id) pairs. The table was backed by a text 
      file. The table was cleaned up one in a while and dead processes leaking
      unique_ids were determined with with kill(0) or with scripting tasklist
      on Windows.
      
      This method is flawed specifically on native Windows Perl. fork() is 
      implemented with starting a new thread, give it a syntetic negative PID
      (threadID*(-1)), until this thread creates a new process with exec()
      However,  neither tasklist nor any other native Windows tool can cope with
      negative perl PIDs. This lead to incorrect determination of dead process 
      and reusing already used mtr_unique_id.
      
      The patch introduces alternative portable  method of solving unique-id 
      problem. When a process needs a unique id in range [min...max], it just 
      starts  to open files named min, min+1,...max in a loop . After file is 
      opened, we do non-blocking flock(). When flock() succeeds, process has 
      allocated the ID. When process dies, file is unlocked . Checks for zombies 
      are not necessary.
      
      Since the change would create a co-existence problems with older version
      of MTR, because of different way to calculate IDs, the default ID range
      is changed from 250-299 to 300-349.
      
      Another fix that was necessary enable --parallel option was to serialize 
      spawn() calls on Windows. specifically, IO redirects needed to be protected.
      
      This patch also fixes hanging CRTL-C (as described in Bug #38629) for the
      "new"  MTR. The fix was already in 6.0 and is now downported.
      2943d2b7
  16. 01 Apr, 2009 1 commit
  17. 09 Mar, 2009 1 commit
  18. 25 Feb, 2009 1 commit
  19. 02 Feb, 2009 1 commit
  20. 01 Feb, 2009 1 commit
  21. 28 Jan, 2009 1 commit
  22. 24 Jan, 2009 1 commit
    • Magnus Svensson's avatar
      WL#4189 mtr.pl v2 · bbdd0576
      Magnus Svensson authored
       - Clear test variables "comment" and "logfile" to make sure thay aren't
        already set from previous run of same test
       - Print warning if test result already set and set it anyway
      bbdd0576
  23. 21 Jan, 2009 1 commit
  24. 03 Dec, 2008 1 commit
  25. 04 Aug, 2008 1 commit
  26. 19 Jun, 2008 1 commit
  27. 20 May, 2008 1 commit
  28. 09 May, 2008 1 commit
    • unknown's avatar
      Make printout of $name nicer · 1e191814
      unknown authored
      Remove debug printouts
      
      
      mysql-test/lib/mtr_report.pm:
        Make printout of $name nicer
      mysql-test/mysql-test-run.pl:
        Remove debug printouts
      1e191814
  29. 05 May, 2008 1 commit
    • unknown's avatar
      Add printouts · e70c2910
      unknown authored
      mysql-test/lib/mtr_report.pm:
        Add 'mtr_print'
      e70c2910
  30. 04 May, 2008 4 commits
  31. 02 May, 2008 1 commit
  32. 27 Apr, 2008 2 commits
    • unknown's avatar
      Move code that saves datadirs to test server · 645db270
      unknown authored
      Remove mtr_report_test_failed
      
      
      mysql-test/lib/mtr_report.pm:
        Remvoe mtr_report_test_failed
      645db270
    • unknown's avatar
      Run all check-warning and check-testcase in parallel, this also give the · 59f38e72
      unknown authored
      oportunity to check if any other process fails during this.
      Add possiblitiy to store "user_data" in a Safeprocess
      Add function to get pid from a SafeProcess
      
      
      mysql-test/lib/My/SafeProcess.pm:
        Add possiblitiy to store "user_data" in a Safeprocess
        Add function to get pid from a SafeProcess
      mysql-test/lib/mtr_report.pm:
        Print and detected test case sideffect also in the test server
      mysql-test/mysql-test-run.pl:
        Run all check-warning and check-testcase in parallel, this also give the
        oportunity to check if any other process fails during this.
      59f38e72
  33. 24 Apr, 2008 3 commits
  34. 08 Apr, 2008 1 commit
    • unknown's avatar
      Check warnings in servers error log as part of test case · 2c4ca510
      unknown authored
      BitKeeper/deleted/.del-rpl_bug33931-slave.opt:
        Delete: mysql-test/suite/rpl/t/rpl_bug33931-slave.opt
      mysql-test/include/default_mysqld.cnf:
        Set a default name for "log-bin"
      mysql-test/mysql-test-run.pl:
        Check for warnings in mysqld error log files after each testcase,
        using SQL
      mysql-test/lib/mtr_cases.pm:
        Make mtr_match into a perl module
      mysql-test/lib/mtr_match.pm:
        Make mtr_match into a perl module
      mysql-test/lib/mtr_report.pm:
        Make mtr_match into a perl module
        Print warnings if testcase failed from warnings
      mysql-test/r/information_schema.result:
        Be more selective which databases and tables are select in the queries
      mysql-test/r/mysql_upgrade.result:
        Update result, mysql_upgrade will check _all_ databases
      mysql-test/r/mysqlcheck.result:
        Update result, mysql_upgrade should check _all_ databases
      mysql-test/r/sp-destruct.result:
        Be more selective which databases and tables are select in the queries
      mysql-test/r/sp-error.result:
        Backup and restore mysql.proc table
      mysql-test/r/sp-security.result:
        Be more selective which databases and tables are select in the queries
      mysql-test/r/sp.result:
        Be more selective which databases and tables are select in the queries
      mysql-test/suite/rpl/r/rpl_bug33931.result:
        Move the setting of debug flag into the test file instead of in -slave.opt
        Add supression
      mysql-test/suite/rpl/r/rpl_idempotency.result:
        Add supression
        Add master-slave-end.inc
      mysql-test/suite/rpl/t/rpl_bug33931.test:
        Move the setting of debug flag into the test file instead of in -slave.opt
        Add supression
      mysql-test/suite/rpl/t/rpl_idempotency.test:
        Add supression
        Add master-slave-end.inc
      mysql-test/t/information_schema.test:
        Be more selective which databases and tables are select in the queries
      mysql-test/t/sp-destruct.test:
        Be more selective which databases and tables are select in the queries
      mysql-test/t/sp-error.test:
        Backup and restore mysql.proc table
      mysql-test/t/sp-security.test:
        Be more selective which databases and tables are select in the queries
      mysql-test/t/sp.test:
        Be more selective which databases and tables are select in the queries
      mysql-test/include/check-warnings.test:
        New BitKeeper file ``mysql-test/include/check-warnings.test''
      mysql-test/include/mtr_warnings.sql:
        New BitKeeper file ``mysql-test/include/mtr_warnings.sql''
      2c4ca510