make tests
cd release_dir
export PATH=`pwd`/bin:`pwd`/sbin:$PATH
-LD_LIBRARY_PATH=`pwd`/lib:`pwd`/lib/condor:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=`pwd`/lib:`pwd`/lib/condor:$LD_LIBRARY_PATH
cd ..
cd src
cp -r /{repo}/CONDOR_SRC/src/condor_examples .
-cp -r condor_tests condor_tests.built
cp -r /{repo}/CONDOR_SRC/src/condor_tests .
cd condor_tests
-./batch_test.pl -b -c ( or a single test: ./batch_test.pl -d . -b -c -t cmd_q_shows-name)
+mkdir /tmp/testsockets
+cat "/tmp/testsockets" >SOCKETDIR
+./batch_test.pl -d . ( or a single test: ./batch_test.pl -d . -t cmd_q_shows-name)
{endcode}
+With shared port on, the socket daemon path is too long so the current
+test code looks for the file SOCKETDIR in condor_tests and uses that as
+the base location for the new folder for shared port sockets. This is true
+for master branch after the creation of V8_3_0. This will be removed when no longer needed and this section will be updated.
+
3: Results after batch_test.pl completes:
{code}
249 successful, 34 failed
@@ -52,18 +58,12 @@
You can run a single test by specifying extra command line parameters. For example, to run =cmd_q_shows-name=:
{code}
- ./batch_test.pl -d . -b -t cmd_q_shows-name
+ ./batch_test.pl -d . -t cmd_q_shows-name
{endcode}
This is useful if you see a specific test failing in one of the automated builds (http://submit-2.batlab.org/results/continuous.php).
-{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:
-{code}
-$ rm -fr TestingPersonalCondor
-{endcode}
-
-{subsection: Stress testing in batch_test.pl}
+{subsubsection: Stress testing in batch_test.pl}
Sometimes a test will run in build workspace but not in the batlab. The
batlab runs multiple tests at once and thus responsiveness to individual tests
@@ -92,7 +92,7 @@
The following command will start job_dagman_fullremove and then 3 job_basic_kill and they will all run at once.
{code}
-./batch_test.pl -b -d . -e 4 (run four from list at a time)
+./batch_test.pl -d . -e 4 (run four from list at a time)
{endcode}
The test suite is prone to leaving HTCondor daemons, especially if you interrupt the tests. After running tests, check for unexpected condor_masters running and kill them.