File: build-libcs7

package info (click to toggle)
snd 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,044 kB
  • sloc: ansic: 291,996; lisp: 260,569; ruby: 71,134; sh: 3,293; fortran: 2,342; csh: 1,067; cpp: 294; makefile: 294; python: 87; xml: 27; javascript: 1
file content (17 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e

endian=$(dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
if [ "${endian}" != "little" ]; then
  echo "Skipping test on ${endian}-endian archs"
  exit 0
fi

outfile=libc_s7.so

rm -f "${outfile}" || true
echo | snd.nox 2>&1
if ! [ -e "${outfile}" ]; then
	echo "'${outfile}' was not produced" 1>&2
	exit 1
fi