Skip to content

Commit

Permalink
updated testbook scripts and results
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Oct 8, 2024
1 parent 1ce422b commit 9a19e51
Show file tree
Hide file tree
Showing 7 changed files with 51,186 additions and 170,792 deletions.
12,080 changes: 0 additions & 12,080 deletions tests/OUTreference/BOOK/book.NT.ranked

This file was deleted.

12,625 changes: 6,327 additions & 6,298 deletions tests/OUTreference/BOOK/book.ranked

Large diffs are not rendered by default.

86,054 changes: 42,758 additions & 43,296 deletions tests/OUTreference/BOOK/index

Large diffs are not rendered by default.

107,556 changes: 0 additions & 107,556 deletions tests/OUTreference/BOOK/indexNT

This file was deleted.

3,647 changes: 2,092 additions & 1,555 deletions tests/OUTreference/BOOK/ldcalc

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions tests/testbook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ then
fi

echo "checking INDEXER results...."
diff $outdir/TESTDP035.tsv.clean.index $refdir/index > /dev/null 2>&1
LC_ALL=C sort -t# $outdir/TESTDP035.tsv.clean.index > /tmp/index
diff /tmp/index $refdir/index > /dev/null 2>&1

if [ $? -ne 0 ]
then
echo "differences in Ticcl-indexer results"
echo "using diff $outdir/TESTDP035.tsv.clean.index $refdir/index"
echo "using diff /tmp/index $refdir/index"
exit
fi

Expand Down Expand Up @@ -170,7 +171,7 @@ fi

echo "checking RANK results...."

diff $outdir/TESTDP035.tsv.clean.ldcalc.ranked $refdir/book.ranked 2>&1
diff $outdir/TESTDP035.tsv.clean.ldcalc.ranked $refdir/book.ranked >/dev/null 2>&1
if [ $? -ne 0 ]
then
echo "differences in TICLL-rank results"
Expand Down
9 changes: 5 additions & 4 deletions tests/testbookNT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ then
fi

echo "checking INDEXER-NT results...."
diff $outdir/TESTDP035.tsv.clean.indexNT $refdir/indexNT > /dev/null 2>&1
LC_ALL=C sort -t# $outdir/TESTDP035.tsv.clean.index > /tmp/indexNT
diff /tmp/indexNT $refdir/index > /dev/null 2>&1

if [ $? -ne 0 ]
then
echo "differences in Ticcl-indexer-NT results"
echo "using diff $outdir/TESTDP035.tsv.clean.indexNT $refdir/indexNT"
echo "using diff /tmp/indexNT $refdir/index"
exit
fi

Expand Down Expand Up @@ -170,11 +171,11 @@ fi

echo "checking RANK results...."

diff $outdir/TESTDP035.tsv.clean.NT.ldcalc.ranked $refdir/book.NT.ranked > /dev/null 2>&1
diff $outdir/TESTDP035.tsv.clean.NT.ldcalc.ranked $refdir/book.ranked > /dev/null 2>&1
if [ $? -ne 0 ]
then
echo "differences in TICLL-rank results"
echo "using: diff $outdir/TESTDP035.tsv.clean.NT.ldcalc.ranked $refdir/book.NT.ranked"
echo "using: diff $outdir/TESTDP035.tsv.clean.NT.ldcalc.ranked $refdir/book.ranked"
exit
fi

Expand Down

0 comments on commit 9a19e51

Please sign in to comment.