<commit_before># ========================================================================== #
#   File:       test/Makefile                                                #
#   Author:     <NAME>                                                #
#   URI:        http://xspec.googlecode.com/                                 #
#   Tags:                                                                    #
#     Copyright (c) 2008, 2010 <NAME> (see end of file.)              #
# -------------------------------------------------------------------------- #
#   To use this Makefile, $SAXON_HOME must be set to a directory that
#   contains either saxon9.jar (for B in 9.1 or below) or saxon9he.jar
#   (for HE in 9.2 and above).  Set it the usual way you set environ
#   variables.
# ----------------------------------------------------------------------------


# the classpath to invoke Saxon
CP=$$SAXON_HOME/saxon9he.jar:$$SAXON_HOME/saxon9.jar
# invoke Saxon as XSLT processor
XSLT=java -cp $(CP) net.sf.saxon.Transform
# invoke Saxon as XQuery processor
XQUERY=java -cp $(CP) net.sf.saxon.Query

### MAIN TARGETS ###

# run all tests
all: xslt xquery

# run XSLT tests
xslt: xspec-function-xsl.html                     \
      xspec-rule-xsl.html                         \
      xspec-import-xsl.html                       \
      xspec-pending-xsl.html

# run XQuery tests
xquery: xspec-function-xq.html                    \
        xspec-import-xq.html                      \
        xspec-pending-xq.html

# clean result files
clean:
	rm -fv *.html

### FILE RULES ###

# compile to XSLT<commit_msg>Added new tests.<commit_after># ========================================================================== #
#   File:       test/Makefile                                                #
#   Author:     <NAME>                                                #
#   URI:        http://xspec.googlecode.com/                                 #
#   Tags:                                                                    #
#     Copyright (c) 2008, 2010 <NAME> (see end of file.)              #
# -------------------------------------------------------------------------- #
#   To use this Makefile, $SAXON_HOME must be set to a directory that
#   contains either saxon9.jar (for B in 9.1 or below) or saxon9he.jar
#   (for HE in 9.2 and above).  Set it the usual way you set environ
#   variables.
# ----------------------------------------------------------------------------


# the classpath to invoke Saxon
CP=$$SAXON_HOME/saxon9he.jar:$$SAXON_HOME/saxon9.jar
# invoke Saxon as XSLT processor
XSLT=java -cp $(CP) net.sf.saxon.Transform
# invoke Saxon as XQuery processor
XQUERY=java -cp $(CP) net.sf.saxon.Query

### MAIN TARGETS ###

# run all tests
all: xslt xquery

# run XSLT tests
xslt: xspec-function-xsl.html                     \
      xspec-rule-xsl.html                         \
      xspec-import-xsl.html                       \
      xspec-focus-1-xsl.html                      \
      xspec-focus-2-xsl.html                      \
      xspec-pending-xsl.html

# run XQuery tests
xquery: xspec-function-xq.html                    \
        xspec-import-xq.html                      \
	xspec-focus-1-xq.html                     \
        xspec-focus-2-xq.html                     \
        xspec-pending-xq.html

# clean result files
clean:
	rm -fv *.html

### FILE RULES ###

# compile to XSLT
{'fraction_non_alphanumeric': 0.2160023446658851, 'fraction_numerical': 0.010550996483001172, 'mean_word_length': 1.0925812385039853, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5123649', 'n_tokens_mistral': 967, 'n_tokens_neox': 896, 'n_words': 233}