X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Frun_bacula_regression;h=0c8dcfd54c5f323f1ff8f50f9ee7dbe201202dcc;hb=ec3f2e73d6cc9d6a0259f2778f0893c3ef612640;hp=b20979191ed5e2628faa73cf9f8ef4c15fcaf8de;hpb=a6103e573abe09de9691767e7fb2223c27392323;p=bacula%2Fbacula diff --git a/regress/run_bacula_regression b/regress/run_bacula_regression index b20979191e..0c8dcfd54c 100755 --- a/regress/run_bacula_regression +++ b/regress/run_bacula_regression @@ -18,14 +18,19 @@ BACULA_REGRESS_HOME="/bacula_regress" export BACULA_REGRESS_HOME # -# Lets use the SUN compiler +# Directory where regress config templates are stored per db type. # -CC="/usr/bin/cc" -CXX="/usr/bin/CC" -CFLAGS="-fast" -CXXFLAGS="-fast" +CONFIG_DIR="/root/configs" -export CC CXX CFLAGS CXXFLAGS +# +# Lets use the SUN compiler +# +#CC="/usr/bin/cc" +#CXX="/usr/bin/CC" +#CFLAGS="-fast" +#CXXFLAGS="-fast" +# +#export CC CXX CFLAGS CXXFLAGS # # Regression script to run @@ -51,8 +56,8 @@ run_sqlite3_regression() # # Run regression using sqlite3 # - if [ -f /root/configs/config.sqlite3 ]; then - ln -sf /root/configs/config.sqlite3 config + if [ -f ${CONFIG_DIR}/config.sqlite3 ]; then + ln -sf ${CONFIG_DIR}/config.sqlite3 config if [ $? = 0 ]; then run_regression fi @@ -64,8 +69,8 @@ run_postgresql_regression() # # Run regression using postgresql # - if [ -f /root/configs/config.postgresql ]; then - ln -sf /root/configs/config.postgresql config + if [ -f ${CONFIG_DIR}/config.postgresql ]; then + ln -sf ${CONFIG_DIR}/config.postgresql config if [ $? = 0 ]; then run_regression fi @@ -77,8 +82,8 @@ run_mysql_regression() # # Run regression using mysql # - if [ -f /root/configs/config.mysql ]; then - ln -sf /root/configs/config.mysql config + if [ -f ${CONFIG_DIR}/config.mysql ]; then + ln -sf ${CONFIG_DIR}/config.mysql config if [ $? = 0 ]; then run_regression fi