aboutsummaryrefslogtreecommitdiff
path: root/tools/tf_fuzz/regression/regress
blob: 1a2b59567c2827060876c705760836ae4d9dbe0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
echo
echo TF-Fuzz Regression Testing
echo
for reg_test in `ls -F | grep \/$ | grep -v add_these_tests | grep -v regress_lib`; do
    echo
    echo Running "$reg_test"...
    cd $reg_test
    rm -f test.c stdout_stderr
    python3 check.py --q template exp_stdout_stderr stdout_stderr exp_test.c test.c
    if test $? -ne 0
    then
        exit
    fi
    cd ..
done
echo
echo
echo All TF-Fuzz regression tests passed.