#!/bin/bash
eye --quiet --nope \
    https://w3c.github.io/N3/tests/N3Tests/manifest-parser.ttl \
    https://w3c.github.io/N3/tests/N3Tests/manifest-reasoner.ttl \
    --query run-manifest.n3 --output run-outcome.n3

echo "# ===========" | tee -a run-outcome.n3
echo "# TEST N3-DEV" | tee -a run-outcome.n3
echo "# ===========" | tee -a run-outcome.n3
echo "#"
echo -n "# RESULT: " | tee -a run-outcome.n3; cat run-outcome.n3 | grep :result | wc -l | tee -a run-outcome.n3
echo -n "# PASSED: " | tee -a run-outcome.n3; cat run-outcome.n3 | grep :passed | wc -l | tee -a run-outcome.n3
echo -n "# FAILED: " | tee -a run-outcome.n3; cat run-outcome.n3 | grep :failed | wc -l | tee -a run-outcome.n3
