Changeset 3743


Ignore:
Timestamp:
Mar 26, 2014, 11:52:19 PM (4 years ago)
Author:
ksherdy
Message:

Consolidated s2k demos.

Location:
proto/s2k/trunk/demo
Files:
18 added
1 edited

Legend:

Unmodified
Added
Removed
  • proto/s2k/trunk/demo/Makefile

    r3678 r3743  
    2929        python -m$(STRTOLL_DEMO) $(STRTOLL_TEST_FILE)
    3030
     31### grep demo ###
     32GREP_DIR=grep
     33GREP=$(GREP_DIR)/grep_demo.py
     34GREP_TEST_FILE=$(GREP_DIR)/test/valid/fruitlist0.dat
     35GREP_DEMO=grep.grep_demo
    3136
     37PABLO_DEBUG=-d
     38
     39grep_demo:     
     40        python -m$(GREP_DEMO) $(GREP_TEST_FILE)
     41
     42grep_invert_match_demo: $(PABLO_DEMO)
     43        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -v $(PABLO_DEBUG)
     44
     45grep_count_demo: $(PABLO_DEMO)
     46        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -c $(PABLO_DEBUG)
     47
     48grep_count_invert_match_demo: $(PABLO_DEMO)
     49        python -m$(GREP_DEMO) $(GREP_TEST_FILE) -c -v $(PABLO_DEBUG)
     50
     51grep_help:
     52        python  -m$(PABLO_DEMO) -h
     53
     54
Note: See TracChangeset for help on using the changeset viewer.