diff options
author | Malfurious <m@lfurio.us> | 2021-07-20 20:10:34 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-07-20 20:10:34 -0400 |
commit | 0173bdcf5bc2bb97bd125679ee25e12ed8be544f (patch) | |
tree | d2381fa960c55dfcfda4ae0b87396ca0f7fc24c7 /shunit/shunit2_test_standalone.sh | |
parent | 3d5a9a7c893f3505216d00348e94ccf1aa5d9084 (diff) | |
download | git-sonar-0173bdcf5bc2bb97bd125679ee25e12ed8be544f.tar.gz git-sonar-0173bdcf5bc2bb97bd125679ee25e12ed8be544f.zip |
Move test files to subdirectory
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'shunit/shunit2_test_standalone.sh')
-rwxr-xr-x | shunit/shunit2_test_standalone.sh | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/shunit/shunit2_test_standalone.sh b/shunit/shunit2_test_standalone.sh deleted file mode 100755 index 6df64b3..0000000 --- a/shunit/shunit2_test_standalone.sh +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/sh -# $Id: shunit2_test_standalone.sh 303 2010-05-03 13:11:27Z kate.ward@forestent.com $ -# vim:et:ft=sh:sts=2:sw=2 -# -# Copyright 2010 Kate Ward. All Rights Reserved. -# Released under the LGPL (GNU Lesser General Public License) -# Author: kate.ward@forestent.com (Kate Ward) -# -# shUnit2 unit test for standalone operation. -# -# This unit test is purely to test that calling shunit2 directly, while passing -# the name of a unit test script, works. When run, this script determines if it -# is running as a standalone program, and calls main() if it is. - -ARGV0=`basename "$0"` - -# load test helpers -. ./shunit2_test_helpers - -#------------------------------------------------------------------------------ -# suite tests -# - -testStandalone() -{ - assertTrue ${SHUNIT_TRUE} -} - -#------------------------------------------------------------------------------ -# main -# - -main() -{ - ${TH_SHUNIT} "${ARGV0}" -} - -# are we running as a standalone? -if [ "${ARGV0}" = 'shunit2_test_standalone.sh' ]; then - if [ $# -gt 0 ]; then main "$@"; else main; fi -fi |