Ignore:
Timestamp:
Sep 23, 2014, 3:15:47 PM (5 years ago)
Author:
nmedfort
Message:

Some refactoring of the RE CC class and CC Compiler; Moved RE into re subdirectory.

Location:
icGREP/icgrep-devel/QA
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/QA/greptest.py

    r4126 r4187  
    8686                except subprocess.CalledProcessError, e:
    8787                    grep_out = e.output
    88                 if grep_out[-1] == '\n': grep_out = grep_out[:-1]
     88                if len(grep_out) > 0 and grep_out[-1] == '\n': grep_out = grep_out[:-1]
    8989                m = re.search('[0-9]+', grep_out)
    9090                if m == None or m.group(0) != expected_count:
  • icGREP/icgrep-devel/QA/greptest.xml

    r4120 r4187  
    88</datafile>
    99
     10<grepcase regexp="fe|si" datafile="simple1" grepcount="3"/>
    1011<grepcase regexp="in" datafile="simple1" grepcount="2"/>
    1112<grepcase regexp="[A-Z]" datafile="simple1" grepcount="1"/>
Note: See TracChangeset for help on using the changeset viewer.