File: run.sh

package info (click to toggle)
neon26 0.26.2-4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,328 kB
  • ctags: 2,487
  • sloc: ansic: 19,026; sh: 8,194; xml: 3,170; makefile: 535
file content (24 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

rm -f debug.log child.log

ulimit -c unlimited

unset LANG
unset LC_MESSAGES

# Enable glibc heap consistency checks, and memory randomization.
MALLOC_CHECK_=2
MALLOC_PERTURB_=`expr $RANDOM % 255 2>/dev/null`
export MALLOC_CHECK_ MALLOC_PERTURB_

for f in $*; do
    if ${HARNESS} ./$f ${SRCDIR}; then
	:
    else
	echo FAILURE
	[ -z "$CARRYON" ] && exit 1
    fi
done

exit 0