run.sh 775 B

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