File: generate_testlist.sh

package info (click to toggle)
intel-gpu-tools 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,360 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (18 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

OUTPUT=$1
shift

echo TESTLIST > $OUTPUT

if [ $# -gt 0 ] ; then
	printf "$1" >> $OUTPUT
	shift
fi

while [ $# -gt 0 ] ; do
	printf " $1" >> $OUTPUT
	shift
done

printf "\nEND TESTLIST\n" >> $OUTPUT