Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If You’ve Already Run the Test Suite

If you have already run the suite once, then you will have all your directories set up and you can run one test as follows: 

 

Code Block
languagebash
cd $MY_SQROOT/../sql/regress/<suite>

# You can add the following two exports to .bashrc or .profile for convenience
export rundir=$MY_SQROOT/rundir
export scriptsdir=$MY_SQROOT/../sql/regress

# run the test
cd $rundir/<suite>
runregr -sb <test>

...

If You’ve Not Run the Test Suite

 

If you have not run any regression suites so far, then you will not have the required sub directories set up. You manually create them for each suite you want to run.

 

 

 

 

Code Block
languagebash
cd $MY_SQROOT/../sql/regress/<suite>

# You can add the following two exports to .bashrc or .profile for convenience
export rundir=$MY_SQROOT/rundir
export scriptsdir=$MY_SQROOT/../sql/regress
mkdir $rundir
cd $rundir

# <suitename> should match the name of each directory in $scriptsdir
mkdir <suitename>

# run the test
cd $rundir/<suite>
$scriptsdir/<suite>/runregr -sb <test>

...