5 [ "$1" = "--serial" ] && parallel
=0
8 [ -t 1 ] && color
="--gtest_color=yes"
13 trap cleanup EXIT ERR HUP INT QUIT
21 api_lock api_lock_pp \
22 api_misc api_misc_pp \
25 api_snapshots api_snapshots_pp \
26 api_stat api_stat_pp \
27 api_watch_notify api_watch_notify_pp \
29 api_service api_service_pp \
30 api_c_write_operations \
31 api_c_read_operations \
32 api_cls_remote_reads \
37 if [ $parallel -eq 1 ]; then
39 ff
=`echo $f | awk '{print $1}'`
40 bash
-o pipefail
-exc "ceph_test_rados_$f $color 2>&1 | tee ceph_test_rados_$ff.log | sed \"s/^/$r: /\"" &
42 echo "test $f on pid $pid"
50 if [ $parallel -eq 1 ]; then
51 for t
in "${!pids[@]}"
56 echo "error in $t ($pid)"