Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/sh
0002 # SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 ###############################################################################
0005 #
0006 #   Copyright © International Business Machines  Corp., 2009
0007 #
0008 # DESCRIPTION
0009 #      Run all tests under the functional, performance, and stress directories.
0010 #      Format and summarize the results.
0011 #
0012 # AUTHOR
0013 #      Darren Hart <dvhart@linux.intel.com>
0014 #
0015 # HISTORY
0016 #      2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
0017 #
0018 ###############################################################################
0019 
0020 # Test for a color capable shell and pass the result to the subdir scripts
0021 USE_COLOR=0
0022 tput setf 7 || tput setaf 7
0023 if [ $? -eq 0 ]; then
0024     USE_COLOR=1
0025     tput sgr0
0026 fi
0027 export USE_COLOR
0028 
0029 (cd functional; ./run.sh)