1 #!/bin/sh 1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0-or-later 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 3 4 ############################################## 4 ############################################################################### 5 # 5 # 6 # Copyright © International Business Machin 6 # Copyright © International Business Machines Corp., 2009 7 # 7 # 8 # DESCRIPTION 8 # DESCRIPTION 9 # Run all tests under the functional, per 9 # Run all tests under the functional, performance, and stress directories. 10 # Format and summarize the results. 10 # Format and summarize the results. 11 # 11 # 12 # AUTHOR 12 # AUTHOR 13 # Darren Hart <dvhart@linux.intel.com> 13 # Darren Hart <dvhart@linux.intel.com> 14 # 14 # 15 # HISTORY 15 # HISTORY 16 # 2009-Nov-9: Initial version by Darren H< 16 # 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com> 17 # 17 # 18 ############################################## 18 ############################################################################### 19 19 20 # Test for a color capable shell and pass the 20 # Test for a color capable shell and pass the result to the subdir scripts 21 USE_COLOR=0 21 USE_COLOR=0 22 tput setf 7 || tput setaf 7 22 tput setf 7 || tput setaf 7 23 if [ $? -eq 0 ]; then 23 if [ $? -eq 0 ]; then 24 USE_COLOR=1 24 USE_COLOR=1 25 tput sgr0 25 tput sgr0 26 fi 26 fi 27 export USE_COLOR 27 export USE_COLOR 28 28 29 (cd functional; ./run.sh) 29 (cd functional; ./run.sh)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.