concordia-library/concordia-runner-jrc.sh
rjawor a1312b7668 jrc test
Former-commit-id: 8ddc453cc0350f8ef96becf2fbff7898045e1f77
2014-02-20 12:26:36 +01:00

19 lines
800 B
Bash
Executable File

#!/bin/sh
echo "CONCORDIA RUNNER: Decompressing test file"
bunzip2 --keep prod/resources/text-files/jrc.txt.bz2
echo "CONCORDIA RUNNER: Running Concordia"
rm prod/resources/temp/*
echo "CONCORDIA RUNNER: reading from file"
./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -r prod/resources/text-files/jrc.txt
echo "CONCORDIA RUNNER: searching for pattern: \"Parlamentu Europejskiego\""
./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -s "Parlamentu Europejskiego" -n
echo "CONCORDIA RUNNER: searching for pattern: \"Dostęp do zatrudnienia\""
./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -s "Dostęp do zatrudnienia" -n
rm prod/resources/text-files/jrc.txt