bugGNU source-highlight - Bugs: bug #41786, Failing test test_regexranges for...

 
 

bug #41786: Failing test test_regexranges for "{notclosed"

Submitter:  Eric Bavier <bavier>
Submitted:  Thu 06 Mar 2014 06:00:16 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bettini
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 22 Aug 2019 09:33:32 AM UTC, comment #4: 

comment #3:
boost-regex-1.53.0 is the version packaged for RHEL7 and CentOS7.
Don't know if that is a distro that still needs to be supported.

Mark Wielaard <mark>
Thu 22 Aug 2019 04:26:43 AM UTC, comment #3: 

I didn't look at the test, but it looks like
boost-regex 1.53 is pretty old.  So maybe we
could just leave it as is?

Tom Tromey <tromey>
Group administrator
Sat 10 Aug 2019 02:41:35 PM UTC, comment #2: 

This seems to depend on the version of boost-regex.
I am using boost-regex-1.53 and now do see this FAIL.
The old variant check_range_regex("{notclosed", false); does PASS for me.

Mark Wielaard <mark>
Fri 27 Mar 2015 05:04:29 PM UTC, comment #1: 

I fixed it in the git repo

Lorenzo Bettini <bettini>
Group administrator
Thu 06 Mar 2014 06:00:16 AM UTC, original submission:  

I get the following output from test_regexranges:

checking simple regex
checking [[:alpha:]]+
checking {notclosed
assertion failed!
FAIL: test_regexranges

I'm using

- bison 3.0.2
- flex 2.5.37
- gcc 4.8.2
- glibc 2.18
- boost 1.55 (also tried 1.54)

Commenting out the offending check in $(srcdir)/lib/tests/test_regexranges_main.cpp allows the rest of the checks to run successfully.

Eric Bavier <bavier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tromey (Posted a comment)
  • -email is unavailable- added by mark (Posted a comment)
  • -email is unavailable- added by bettini (Posted a comment)
  • -email is unavailable- added by bavier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-27 bettini Assigned toNone bettini
    2015-03-27 bettini StatusNone Fixed
        Open/ClosedOpen Closed
    2014-03-06 bavier Attached File- Added source-highlight-disable-notclosed-regex-range-check.patch, #30787

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code