Page History
- 2021-Jun-22 14:07 tannenba
- 2021-Jun-19 19:57 gthain
- 2021-Mar-17 16:40 gthain
- 2021-Mar-16 12:12 gthain
- 2019-Nov-11 11:20 karpel
- 2019-May-30 10:34 tannenba
- 2019-May-23 09:42 bbockelm
- 2017-Mar-28 09:21 johnkn
- 2017-Mar-28 09:20 johnkn
- 2017-Jan-13 10:58 smihir
- 2016-Sep-21 11:15 smihir
- 2016-Sep-13 09:41 smihir
- 2016-Sep-12 10:52 smihir
Testing Condor On Linux
batch_test.pl runs the test suite . It can start up its own personal HTCondor and use that for testing. The tests may also start their own personal Condors.
Running Tests from HTCondor Source Tree
- Get the source code from any of the following locations:
- git on AFS: git clone ssh://emperor-02.cs.wisc.edu/p/condor/repository/CONDOR_SRC.git
- github: git clone https://github.com/htcondor/htcondor.git
- tarballs on HTCondor's website
- Compiling the code and running tests.(See BuildingHtcondorOnLinux
for more details on building the code and pre-requisites)
Always run tests with batch_test.pl. Tests have a special flag([[anonymous: what is it?]]) which asks batch_test to start condor on behalf of the test, certain tests may not want to run condor or may want to change the condor's configuration file before running so they will start condor themselves. In any case, it should always be safe to run test via batch_test.pl. Also batch_test.pl only supports running single test at a time for now. To run multiple tests refer BatLabTest.
cd CONDOR_SRC # change directory to the root of source tree ./configure_uw make install make tests cd release_dir ./condor_install --make-personal-condor source condor.sh cd ../src/condor_tests ./batch_test.pl -d . -t <test name> # for example # ./batch_test.pl -d . -t job_test_scheddrotation.run
