Sha256: a67fd57b5fbc0ded07dde0c48d4ecc877cb7419146c8a0d65dcc54301d7c3fb7

Contents?: true

Size: 683 Bytes

Versions: 3

Compression:

Stored size: 683 Bytes

Contents

#!/bin/bash

# This script must be run from the script's directory

# .xspec files directory
CASES_DIR=cases

# XSpec output directory
export TEST_DIR=${CASES_DIR}/expected

# Process .xspec files
for CASE_FILEPATH in ${CASES_DIR}/*.xspec
do
    echo
    echo "----------"
    echo "Processing ${CASE_FILEPATH}..."

    # Generate the report HTML
    ../../bin/xspec.sh ${CASE_FILEPATH}

    # Normalize the report HTML
    CASE_FILENAME=${CASE_FILEPATH##*/}
    CASE_BASENAME=${CASE_FILENAME%.xspec}
    java -classpath ${SAXON_CP} net.sf.saxon.Transform -o:${TEST_DIR}/${CASE_BASENAME}-result-norm.html -s:${TEST_DIR}/${CASE_BASENAME}-result.html -xsl:processor/normalize.xsl
done

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple-xspec-wrapper-0.3.0-java vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh
simple-xspec-wrapper-0.2.0-java vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh
simple-xspec-wrapper-0.1.0-java vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh