1 # Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
3 # Jansson is free software; you can redistribute it and/or modify
4 # it under the terms of the MIT license. See LICENSE for details.
6 json_process=$bindir/json_process
9 suite_srcdir=$suites_srcdir/$suite_name
10 suite_builddir=$suites_builddir/$suite_name
11 suite_log=$logdir/$suite_name
14 [ -z "$VERBOSE" ] && VERBOSE=0
16 . $scriptdir/valgrind.sh
21 for test_path in $suite_srcdir/*; do
22 test_name=$(basename $test_path)
23 test_builddir=$suite_builddir/$test_name
24 test_log=$suite_log/$test_name
26 [ "$test_name" = "run" ] && continue
31 if [ $VERBOSE -eq 1 ]; then
37 if [ $VERBOSE -eq 1 ]; then
45 if [ $VERBOSE -eq 1 ]; then
53 if [ $VERBOSE -eq 0 ]; then
57 if [ -n "$(ls -A $suite_log)" ]; then
58 for test_log in $suite_log/*; do
59 test_name=$(basename $test_log)
60 test_path=$suite_srcdir/$test_name
61 echo "================================================================="
62 echo "$suite_name/$test_name"
63 echo "================================================================="
67 echo "================================================================="