Page History

Turn Off History

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

  1. Get the source code from any of the following locations:
  1. Compiling the code and running tests.(See BuildingHtcondorOnLinux for more details on building the code and pre-requisites)
    
    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
    
    
    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.

Running Tests on pre-installed HTCondor