[Xapian-tickets] [Xapian] #369: Test totaldoclen1 fails with InvalidOperationError on Solaris 10 U6

Xapian nobody at xapian.org
Thu May 14 15:46:30 BST 2009


#369: Test totaldoclen1 fails with InvalidOperationError on Solaris 10 U6
------------------------+---------------------------------------------------
 Reporter:  bensummers  |       Owner:  olly   
     Type:  defect      |      Status:  new    
 Priority:  normal      |   Milestone:         
Component:  Other       |     Version:         
 Severity:  normal      |    Keywords:         
Blockedby:              |    Platform:  Solaris
 Blocking:              |  
------------------------+---------------------------------------------------
 Test totaldoclen1 fails with !InvalidOperationError on Solaris 10 U6 -
 report below.

 Also, quite a few tests are skipped.

 Compiler: "gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)"

 {{{
 Running test: totaldoclen1... InvalidOperationError
 ...
 =======================================
 1 of 7 tests failed
 Please report to http://xapian.org/bugs
 =======================================
 *** Error code 1
 The following command caused the error:
 failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[         ]'; \
 srcdir=.; export srcdir; \
 list=' btreetest quartztest  apitest internaltest stemtest
 queryparsertest  termgentest '; \
 if test -n "$list"; then \
   for tst in $list; do \
     if test -f ./$tst; then dir=./; \
     elif test -f $tst; then dir=; \
     else dir="./"; fi; \
     if ./runtest ${dir}$tst; then \
       all=`expr $all + 1`; \
       case "  " in \
       *$ws$tst$ws*) \
         xpass=`expr $xpass + 1`; \
         failed=`expr $failed + 1`; \
         echo "XPASS: $tst"; \
       ;; \
       *) \
         echo "PASS: $tst"; \
       ;; \
       esac; \
     elif test $? -ne 77; then \
       all=`expr $all + 1`; \
       case "  " in \
       *$ws$tst$ws*) \
         xfail=`expr $xfail + 1`; \
         echo "XFAIL: $tst"; \
       ;; \
       *) \
         failed=`expr $failed + 1`; \
         echo "FAIL: $tst"; \
       ;; \
       esac; \
     else \
       skip=`expr $skip + 1`; \
       echo "SKIP: $tst"; \
     fi; \
   done; \
   if test "$failed" -eq 0; then \
     if test "$xfail" -eq 0; then \
       banner="All $all tests passed"; \
     else \
       banner="All $all tests behaved as expected ($xfail expected
 failures)"; \
     fi; \
   else \
     if test "$xpass" -eq 0; then \
       banner="$failed of $all tests failed"; \
     else \
       banner="$failed of $all tests did not behave as expected ($xpass
 unexpected passes)"; \
     fi; \
   fi; \
   dashes="$banner"; \
   skipped=""; \
   if test "$skip" -ne 0; then \
     skipped="($skip tests were not run)"; \
     test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \
       dashes="$skipped"; \
   fi; \
   report=""; \
   if test "$failed" -ne 0 && test -n "http://xapian.org/bugs"; then \
     report="Please report to http://xapian.org/bugs"; \
     test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \
       dashes="$report"; \
   fi; \
   dashes=`echo "$dashes" | sed s/./=/g`; \
   echo "$dashes"; \
   echo "$banner"; \
   test -z "$skipped" || echo "$skipped"; \
   test -z "$report" || echo "$report"; \
   echo "$dashes"; \
   test "$failed" -eq 0; \
 else :; fi
 make: Fatal error: Command failed for target `check-TESTS'
 Current working directory /home/ben/xapian-core-1.0.12/tests
 *** Error code 1
 make: Fatal error: Command failed for target `check-am'
 Current working directory /home/ben/xapian-core-1.0.12/tests
 *** Error code 1
 make: Fatal error: Command failed for target `check'
 Current working directory /home/ben/xapian-core-1.0.12/tests
 *** Error code 1
 The following command caused the error:
 failcom='exit 1'; \
 for f in x $MAKEFLAGS; do \
   case $f in \
     *=* | --[!k]*);; \
     *k*) failcom='fail=yes';; \
   esac; \
 done; \
 dot_seen=no; \
 target=`echo check-recursive | sed s/-recursive//`; \
 list='. docs tests'; for subdir in $list; do \
   echo "Making $target in $subdir"; \
   if test "$subdir" = "."; then \
     dot_seen=yes; \
     local_target="$target-am"; \
   else \
     local_target="$target"; \
   fi; \
   (cd $subdir && make  $local_target) \
   || eval $failcom; \
 done; \
 if test "$dot_seen" = "no"; then \
   make  "$target-am" || exit 1; \
 fi; test -z "$fail"
 make: Fatal error: Command failed for target `check-recursive'
 Current working directory /home/ben/xapian-core-1.0.12
 *** Error code 1
 make: Fatal error: Command failed for target `check'
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/369>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list