Boost logo

Boost :

From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2006-10-13 07:02:08


Janek Kozicki said: (by the date of Fri, 13 Oct 2006 07:42:25 +0200)

ok. maybe you will like this:

75 failures in 13 libraries (37 are from non-broken platforms)

                     non-broken broken total
  filesystem 0 2 2
  io 1
  iostreams 7 1 8
  mpl 5 1 6
  parameter 2 4 6
  program_options 0 9 9
  python 8 1 9
  random 1
  rational 3 2 5
  serialization 4 14 18
  spirit 4 3 7
  test 1 1 2
  utility 1

To get this:

  utility 1 0 1

simply comment the line marked with [1]

The code for that:

        message += (str(self.numFailures()) + ' failures in ' +
                    str(len(self.libraries)) + ' libraries')
        if any_broken_platforms:
            message += ' (' + str(self.numReportableFailures()) + ' are from non-broken platforms)'
        message += '\n\n non-broken broken total\n'

        # Display the number of failures per library
        for k in sorted_keys( self.libraries ):
            library = self.libraries[k]
            num_failures = library.numFailures()
            message += (' ' + library.name.ljust(22) + ' '
                        + str(library.numReportableFailures()).ljust(9) )
# [1] comment this "if" line
            if library.numReportableFailures() < num_failures:
                message += (' ' + str(num_failures - library.numReportableFailures() ).ljust(8)
                        + ' ' + str(num_failures))
            message += '\n'
            pass

Anyway, I'm off with that. Take it or not :)

-- 
Janek Kozicki                                                         |

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk