Blame tests/libbytesize_unittest.sh.in

Packit b040ce
#!/bin/bash
Packit b040ce
Packit b040ce
status=0
Packit b040ce
Packit b040ce
# If not run from automake, fake it
Packit b040ce
if [ -z "$srcdir" ]; then
Packit b040ce
    srcdir="$(dirname "$0")"
Packit b040ce
fi
Packit b040ce
Packit Service 96764f
if [ @WITH_PYTHON2@ = 1 ]; then
Packit Service 96764f
    python2 ${srcdir}/libbytesize_unittest.py || status=1
Packit Service 96764f
fi
Packit Service 96764f
Packit b040ce
if [ @WITH_PYTHON3@ = 1 ]; then
Packit b040ce
    python3 ${srcdir}/libbytesize_unittest.py || status=1
Packit Service 96764f
fi
Packit Service 96764f
Packit Service 96764f
if [ @WITH_PYTHON2@ = 1 ]; then
Packit Service 96764f
    python2 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8 || status=1
Packit b040ce
fi
Packit b040ce
Packit b040ce
if [ @WITH_PYTHON3@ = 1 ]; then
Packit b040ce
    python3 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8 || status=1
Packit b040ce
fi
Packit b040ce
Packit b040ce
exit $status