Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82890 - trunk/tools/boostbook/test/more
From: dnljms_at_[hidden]
Date: 2013-02-14 16:45:57


Author: danieljames
Date: 2013-02-14 16:45:56 EST (Thu, 14 Feb 2013)
New Revision: 82890
URL: http://svn.boost.org/trac/boost/changeset/82890

Log:
Boostbook: Fix `run-tests.py` for new `generate-id`.

The form of the generated ids has changed due to a security issue.
Text files modified:
   trunk/tools/boostbook/test/more/run-tests.py | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/boostbook/test/more/run-tests.py
==============================================================================
--- trunk/tools/boostbook/test/more/run-tests.py (original)
+++ trunk/tools/boostbook/test/more/run-tests.py 2013-02-14 16:45:56 EST (Thu, 14 Feb 2013)
@@ -90,7 +90,7 @@
         if(id in ids):
             print 'Duplicate id: ' + id
         
- match = re.match("(id|.+_id)(\d+)((?:-bb)?)", id)
+ match = re.match("(id|.+_id)([mp]?\d+)((?:-bb)?)", id)
         if(match):
             count = 1
             if(match.group(1) in id_bases):
@@ -119,4 +119,4 @@
         )
 
 if __name__ == "__main__":
- main(sys.argv[1:])
\ No newline at end of file
+ main(sys.argv[1:])


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk