mariadb/ndb/test/run-test
jonas@perch.ndb.mysql.com 3c1cfd7631 Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2007-07-02 14:19:15 +02:00
..
16node-tests.txt
atrt-analyze-result.sh
atrt-clear-result.sh
atrt-example.tgz
atrt-gather-result.sh
atrt-mysql-test-run
atrt-setup.sh
atrt-testBackup
basic.txt
conf-daily-devel-ndbmaster.txt
conf-daily-sql-ndbmaster.txt
conf-dl145a.txt
conf-ndbmaster.txt
conf-shark.txt
daily-basic-tests.txt Merge perch.ndb.mysql.com:/home/jonas/src/50-work 2007-07-02 14:19:15 +02:00
daily-devel-tests.txt
example.conf
main.cpp Many files: 2006-12-23 20:17:15 +01:00
make-config.sh
make-html-reports.sh
make-index.sh
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ndb-autotest.sh ndb - 2006-03-22 12:18:07 +01:00
README
README.ATRT
run-test.hpp Many files: 2006-12-23 20:17:15 +01:00

run-test/README

This document describes how atrt works and how to use it.

atrt is a test program driver.
atrt supports fully distributed test and utilizes ndb_cpcd.

=================================
atrt has the following main loop:

/**
  * Psuedo code for atrt
  */
  read config file (default d.txt)
  contact each ndb_cpcd 
  start each ndb_mgmd
  connect to each ndb_mgmd
  for each read(test case)
  do
    if previous test failed (or is first test)
      stop each ndbd
      start each ndbd
      wait for ndbd to get started
     
    start each mysqld
     
    start each test prg

    wait while all is running and max time not elapsed

    stop each mysqld

    stop each test prg

    gather result

  done
/**
 * End of psuedo code
 */     

=================================