3 # Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
5 # Jansson is free software; you can redistribute it and/or modify
6 # it under the terms of the MIT license. See LICENSE for details.
9 [ "${test_name%.c}" != "$test_name" ] && return 0
10 [ -x $test_path -a ! -f $test_path.c ] && return 0
15 if [ -x $test_path ]; then
16 test_log=$test_log $test_path >$test_log/stdout 2>$test_log/stderr
18 $suite_builddir/${test_name%.c} >$test_log/stdout 2>$test_log/stderr
23 valgrind_show_error && return
27 . $top_srcdir/test/scripts/run-tests.sh