From: Oleg Drokin Date: Tue, 1 Mar 2011 04:07:59 +0000 (-0800) Subject: Merge "Remove EXPORT_SYMBOL for static function." X-Git-Tag: 2.0.59-llnl2-base~22 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e3932b15a2aa2b6e2c99fc7449aba38c3afd526e;hp=26e4f705e013c6257330ce3456fcb70b0bad12cf Merge "Remove EXPORT_SYMBOL for static function." --- diff --git a/lustre/liblustre/Makefile.am b/lustre/liblustre/Makefile.am index d7f8957..6817c7d 100644 --- a/lustre/liblustre/Makefile.am +++ b/lustre/liblustre/Makefile.am @@ -50,8 +50,8 @@ install-exec-hook: liblustre.so @list=$< ; for p in $$list; do \ if test -f $$p; then \ f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \ - $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$f"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$f; \ else :; fi; \ done else diff --git a/lustre/tests/auster b/lustre/tests/auster old mode 100644 new mode 100755 index ff29a4c..ed55576 --- a/lustre/tests/auster +++ b/lustre/tests/auster @@ -13,7 +13,7 @@ set -e export TF_FAIL=/tmp/tf.fail usage() { - cat < $LOGDIR/$log_name 2>&1 -# run_suite $suite_name $suite_script "${!suite_only}" 2>&1 |tee $LOGDIR/$log_name + if $verbose; then + run_suite $suite_name $suite_script "${!suite_only}" 2>&1 |tee $LOGDIR/$log_name + else + run_suite $suite_name $suite_script "${!suite_only}" > $LOGDIR/$log_name 2>&1 + fi } # # Add this to test-framework somewhere. reset_logging() { - export LOGDIR=${1:-/tmp/test_logs/$(date +%Y-%m-%d)/$(date +%H%M%S)} + export LOGDIR=${1:-${test_logs_dir}/$(date +%Y-%m-%d)/$(date +%H%M%S)} unset YAML_LOG init_logging } @@ -286,13 +280,27 @@ run_suites() { run_suite_logged $suite || RC=$? echo $suite returned $RC done - if [ $logging = true ]; then - ./maloo_upload.sh $LOGDIR + if $upload_logs; then + $upload_script $LOGDIR fi n=$((n + 1)) done } +if [ $upload_logs = true ] ; then + upload_script=$(find_script_in_path maloo_upload.sh $PATH:$LUSTRE/tests) + if [[ -z $upload_script ]]; then + echo "Can't find maloo_upload.sh script" + exit 1 + fi + + if [ ! -r ~/.maloorc ] ; then + echo "A ~/.maloorc file is required in order to upload results." + echo "Visit your maloo web interface to download your .maloorc file" + exit 1 + fi +fi + export NAME MOUNT START CLEAN . ${CONFIG:-$LUSTRE/tests/cfg/$NAME.sh}