Page History

Turn Off History

$ mkdir ~/condor
# This is going to take a while.
$ git clone http://condor-git.cs.wisc.edu/repos/condor.git
$ mv condor source
$ mkdir obj
$ mkdir install
# This directory really has to be named this.  Sorry.
$ mkdir condor_tests
$ cd obj
# You may need edit this line to get HTCondor to actually build on your system.
# (My system's Globus is incompatible, so I added '-DWITH_GLOBUS:BOOL=FALSE'.)
$ PWD=`pwd`; cmake -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/../install ../source
$ make
$ make tests
$ make install

# Set up and start the default personal condor.
$ cd ../install
$ ./condor_install --make-personal-condor
$ . ./condor.sh

# Do NOT start a personal condor.  That will break the test suite.

# Prepare test suite.  [This step is stupid.]  This step must be repeated
# for each time you re-rerun the tests (preceeded by deleting the condor_tests
# directory and recreating it).
$ cd ../condor_tests
$ cp -r ../source/src/condor_tests/* .
$ cp ../source/src/condor_examples/* .
$ cp ../source/src/condor_scripts/*.pm .
$ cp ../source/src/condor_scripts/run_test.pl .
$ cp ../source/src/condor_scripts/safe_append.pl .
$ cp ../obj/src/condor_tests/* .

#
# Prepare your environment.
#
# Unbreak (among potentially others) unit_test_sinful, test_protocol_matching, and lib_unit_tests.
# Arguably, those tests should be fixed so that this isn't necessary.
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/install/condor/lib

#
# This will take /forever/.
#
$ for test in `cat list_all`; do perl ./run_test.pl $test &> $test.out; done