Ignore:
Timestamp:
Mar 20, 2014, 2:21:12 AM (6 years ago)
Author:
ksherdy
Message:

Added compilable grep demo. Single segment. Basis for follow/leader s2k iterator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/demo/src/Makefile

    r3730 r3736  
    2929        $(CC) -o $(OUTFILE) $(SRCFILE) $(INCLUDES) $(AFLAGS)
    3030       
    31 test: $(OUTFILE)
    32         ./$(OUTFILE) $(TESTFILE0) > 0   
     31grep_test_b_o: $(OUTFILE)
     32        ./$(OUTFILE) $(TESTFILE0) -o -b > 0     
    3333        grep $(FIXED_PATTERN) $(TESTFILE0) -o -b > 1
    3434        diff 0 1
    35         ./$(OUTFILE) $(TESTFILE1) > 0   
     35        ./$(OUTFILE) $(TESTFILE1) -o -b > 0     
    3636        grep $(FIXED_PATTERN) $(TESTFILE1) -o -b > 1
    3737        diff 0 1
    38         ./$(OUTFILE) $(TESTFILE2) > 0   
     38        ./$(OUTFILE) $(TESTFILE2) -o -b > 0     
    3939        grep $(FIXED_PATTERN) $(TESTFILE2) -o -b > 1
    4040        diff 0 1
    41         ./$(OUTFILE) $(TESTFILE3) > 0   
     41        ./$(OUTFILE) $(TESTFILE3) -o -b > 0     
    4242        grep $(FIXED_PATTERN) $(TESTFILE3) -o -b > 1
    4343        diff 0 1
    44         ./$(OUTFILE) $(TESTFILE4) > 0   
     44        ./$(OUTFILE) $(TESTFILE4) -o -b > 0     
    4545        grep $(FIXED_PATTERN) $(TESTFILE4) -o -b > 1
    4646        diff 0 1       
Note: See TracChangeset for help on using the changeset viewer.