Skip to content

Commit dfcc6ad

Browse files
committed
Add tests for SIMD rans failures
1 parent eddb896 commit dfcc6ad

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

tests/dat/qsimd.gz

1.07 KB
Binary file not shown.

tests/dat/r4x16/qsimd.69

117 Bytes
Binary file not shown.

tests/fqzcomp.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ do
1111
cut -f 1 $f > $out/fqz
1212
for s in 0 1 2 3
1313
do
14+
if [ ! -e "$comp.$o" ]
15+
then
16+
continue
17+
fi
1418
printf 'Testing fqzcomp_qual -r -s %s on %s\t' $s "$f"
1519

1620
# Round trip

tests/rans4x16.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ then
55
mkdir $out
66
fi
77

8+
gzip -d < $srcdir/dat/qsimd.gz > $srcdir/dat/qsimd
89
for f in `ls -1 $srcdir/dat/q* $srcdir/htscodecs-corpus/dat/q* 2>/dev/null`
910
do
1011
comp=${f%/*/*}/dat/r4x16/${f##*/}

tests/rans4x8.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ do
1111
cut -f 1 < $f | tr -d '\012' > $out/r4x8-nl
1212
for o in 0 1
1313
do
14+
if [ ! -e "$comp.$o" ]
15+
then
16+
continue
17+
fi
18+
1419
printf 'Testing rans4x8 -r -o%s on %s\t' $o "$f"
1520

1621
# Round trip

0 commit comments

Comments
 (0)