File: runtests-loop.sh

package info (click to toggle)
liburing 2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,104 kB
  • sloc: ansic: 56,796; sh: 806; makefile: 575; cpp: 32
file content (16 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

TESTS=("$@")
ITER=0

while true; do
	./runtests.sh "${TESTS[@]}"
	RET="$?"
	if [ "${RET}" -ne 0 ]; then
		echo "Tests failed at loop $ITER"
		break
	fi
	echo "Finished loop $ITER"
	((ITER++))
done