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.

File:
1 edited

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:
Note: See TracChangeset for help on using the changeset viewer.