correct jrc tests

Former-commit-id: 5ed98d576a476cd86143120b6be5316944d0c052
This commit is contained in:
rjawor 2014-05-09 10:10:35 +02:00
parent e99eb77b28
commit 96f55cddf3
3 changed files with 25 additions and 0 deletions

4
concordia-clear-jrc.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
rm prod/resources/temp/*
rm prod/resources/text-files/jrc_smaller.txt

14
concordia-index-jrc.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
echo "CONCORDIA INDEXER: Decompressing test file"
xz -dk prod/resources/text-files/jrc_smaller.txt.xz
echo "CONCORDIA INDEXER: Running Concordia"
rm prod/resources/temp/*
echo "CONCORDIA INDEXER: reading from file"
./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -r prod/resources/text-files/jrc_smaller.txt

7
concordia-search-jrc.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
echo "CONCORDIA SEARCHER: searching for pattern: \"Parlamentu Europejskiego\""
./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -s "Parlamentu Europejskiego" -n
echo "CONCORDIA SEARCHER: 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