WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Merged.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 47a55b3b7b391c0b920939ab475ef137758e4a90
# Parent  ae212c225e2a1a62a207c82f6d4df1b2b6bd979d
# Parent  cdd11b936a2649f77634fea1ec517f4875013995
Merged.

diff -r ae212c225e2a -r 47a55b3b7b39 tools/xm-test/runtest.sh
--- a/tools/xm-test/runtest.sh  Tue Mar 21 10:42:39 2006
+++ b/tools/xm-test/runtest.sh  Tue Mar 21 10:43:44 2006
@@ -15,6 +15,7 @@
     echo "  -e <email>  : set email address for report"
     echo "  -r <url>    : url of test results repository to use"
     echo "  -s <report> : just submit report <report>"
+    echo "  -u          : unsafe -- do not run the sanity checks before 
starting"
     echo "  -h | --help : show this help"
 }
 
@@ -193,6 +194,7 @@
 reportserver=${xmtest_repo:-'http://xmtest.dague.org/cgi-bin/report-results'}
 batch=no
 run=yes
+unsafe=no
 GROUPENTERED=default
 
 # Resolve options
@@ -226,6 +228,11 @@
          ;;
       -s)
          run=no
+         ;;
+      -u)
+         echo "(Unsafe mode)"
+         unsafe=yes
+         report=no
          ;;
       -h|--help)
           usage
@@ -275,15 +282,20 @@
 fi
 
 if [ "$run" != "no" ]; then
-    runnable_tests
+    if [ "$unsafe" = "no" ]; then
+      runnable_tests
+    fi
     rm -f $REPORT"*"
-    make_environment_report $OSREPORTTEMP $PROGREPORTTEMP
+    if [ "$unsafe" = "no" ]; then
+      make_environment_report $OSREPORTTEMP $PROGREPORTTEMP
+    fi
     run_tests $GROUPENTERED $OUTPUT
     make_text_reports $PASSFAIL $FAILURES $OUTPUT $TXTREPORT
-    make_result_report $OUTPUT $RESULTREPORTTEMP
-    cat $OSREPORTTEMP $PROGREPORTTEMP $RESULTREPORTTEMP > $XMLREPORT
-    rm $OSREPORTTEMP $PROGREPORTTEMP $RESULTREPORTTEMP
-
+    if [ "$unsafe" = "no" ]; then
+      make_result_report $OUTPUT $RESULTREPORTTEMP
+      cat $OSREPORTTEMP $PROGREPORTTEMP $RESULTREPORTTEMP > $XMLREPORT
+      rm $OSREPORTTEMP $PROGREPORTTEMP $RESULTREPORTTEMP
+    fi
 fi
 
 if [ "$report" = "yes" ]; then

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>