File: py_log_compiler

package info (click to toggle)
gnucap-python 0.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,672 kB
  • sloc: python: 7,873; sh: 4,384; cpp: 1,786; makefile: 252
file content (18 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

if [ x$1 = xSKIP ]; then
	skip=yes
	shift
fi

base=`basename $1`
out=${base}.out
make $out PYTHON=${PYTHON}

if [ x$skip = xyes ]; then
	exit 77;
fi

ref=${srcdir}/out${PYTHON_VERSION}/${base}.ref
diff -rup $out $ref || exit 1
rm $out