Commit e3c56c9e authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

Ship test and benchmark data with dist

parent 0caa5349
2016-08-16 Mathis Rosenhauer <>
Include CCSDS test data with libaec. See THANKS
Better compatibility with OSX for make check
Allow Cygwin to build DLLs
2016-08-16 Mathis Rosenhauer <>
Pad incomplete last line when in SZ compatibility mode
......@@ -14,7 +16,7 @@
Fixed bug with zero blocks in the last RSI (reference sample
interval) when data size is not a multiple of RSIs or segments (64
blocks) and the zero region reaches a sement boundary.
blocks) and the zero region reaches a segment boundary.
Vectorization improvement for Intel compiler
Thanks to the chairman of CCSDS SLS-MHDC, Aaron Kiely, to let us
distribute BB121B2 test data with libaec. The data files are used
during 'make check'.
The most recent version of the data is available from the CCSDS web
......@@ -22,11 +22,12 @@ check_szcomp_SOURCES = check_szcomp.c $(top_builddir)/src/szlib.h
LDADD = $(top_builddir)/src/
check_szcomp_LDADD = $(top_builddir)/src/
EXTRA_DIST = CMakeLists.txt
EXTRA_DIST = CMakeLists.txt data
szcomp.log: sampledata.log
bench: benc bdec
$(srcdir)/ $(srcdir)/data/typical.rz
.PHONY: bench benc bdec
set -e
if [ ! -f typical.dat ]; then
rm -f typical.rz
type curl >/dev/null 2>&1 || {
echo >&2 "curl not found. Please download $test_data by other means and place it in tests. Aborting."
exit 1
curl $test_data -O || {
echo >&2 "Could not download $test_data. Please download it by other means and place it in tests. Aborting."
exit 1
$AEC -d -n16 -j64 -r256 -m typical.rz typical.dat
rm -f bench.dat
if [ ! -f bench.dat ]; then
rm -f typical.dat
$AEC -d -n16 -j64 -r256 -m $TEST_DATA typical.dat
for i in $(seq 0 499);
cat typical.dat >> bench.dat
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment