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