cd src cd condor_tests export PATH=$releasedirLoc/bin:$releasedirLoc/sbin:$PATH -./batch_test.pl -b -c +./batch_test.pl -b -c ( or a single test: ./batch_test.pl -d . -b -t cmd_q_shows-name) {endcode} 2: Testing from the GIT repository, out of tree/out of repository: {code} -/p/condor/workspaces/bt/GIT/CONDOR_SRC/configure_uw /p/condor/workspaces/bt/GIT/CONDOR_SRC +make a directory to build and test in, cd there +/{repo}/CONDOR_SRC/configure_uw /{repo}/GIT/CONDOR_SRC make install make tests cd src -cp -r /p/condor/workspaces/bt/GIT/CONDOR_SRC/src/condor_examples . +cp -r /{repo}/CONDOR_SRC/src/condor_examples . cp -r condor_tests condor_tests.built -cp -r /p/condor/workspaces/bt/GIT/CONDOR_SRC/src/condor_tests . +cp -r /{repo}/CONDOR_SRC/src/condor_tests . cd condor_tests export PATH=$releasedirLoc/bin:$releasedirLoc/sbin:$PATH -./batch_test.pl -b -cke a directory to build and test in, cd there +./batch_test.pl -b -c ( or a single test: ./batch_test.pl -d . -b -t cmd_q_shows-name) {endcode} +3: Results after batch_test.pl completes: +{code} +249 successful, 34 failed +{endcode} + +Additionally the file failed_tests will contain the list of +tests which had a non-zero return code meaning they failed. +The file successful_tests will list the passing tests which +had a return value of zero + {subsubsection: Running the tests again} Running the test suite leaves files and directories in the =src/condor_tests= directory that prevent the tests from running again. To solve this: