File: libbytesize_unittest.sh.in

package info (click to toggle)
libbytesize 2.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 1,850; ansic: 994; sh: 666; makefile: 258
file content (19 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

status=0

# If not run from automake, fake it
if [ -z "$srcdir" ]; then
    srcdir="$(dirname "$0")"
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py || status=1
    python3 ${srcdir}/lbs_py_override_unittest.py || status=1
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py fr_FR.UTF-8 || status=1
fi

exit $status