Subversion

2lt

?curdirlinks? - Rev 1

?prevdifflink? - Blame


###############################################################################
#
# General rules for checking a grammar
# 
# This makefile requires five global variables:
#    PARSE_UNIT        - Program configuration of "parse-unit" 
#                        (in makerules.configuration)
#    PARSE_UNIT_OPTS   - "parse-unit" program options
#                        (in makerules.configuration)
#    PARSE_UNIT_PTABLE - Parse table required for "parse-unit"
#                        (defined in the makefile that imports this)
#    AMBTRACKER        - Program configuration of "ambtracker"
#                        (in makerules.configuration)
#    TEST              - Variable that defines which unit test to use from the
#                        whole testsuite.
#                        (defined externally)
#

%.runtestsuite: %.testsuite
        -${PARSE_UNIT} ${PARSE_UNIT_OPTS} -i $< -p $(PARSE_UNIT_PTABLE) --verbose 1 -o /dev/null

%.runtest: %.testsuite
        -${PARSE_UNIT} ${PARSE_UNIT_OPTS} -i $< -p $(PARSE_UNIT_PTABLE) --verbose 3 --single $(TEST) -o /dev/null

%.runambtest: %.testsuite
        -${PARSE_UNIT} ${PARSE_UNIT_OPTS} -i $< -p $(PARSE_UNIT_PTABLE) --verbose 1 --single $(TEST) --asfix2 | ${AMBTRACKER}


Theme by Vikram Singh | Powered by WebSVN v2.3.3