diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-04-12 21:13:41 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-04-12 21:13:41 +0000 |
commit | c1e13e2fe5971edeac6196e5d2163fadcc2dd5ef (patch) | |
tree | e69bd4177d6aee23065ce8bbb4f6c7ea1300fab3 /llvm/utils/lit | |
parent | 71e07d71751d7c2b30fa6ec5f669cb634f8d1ff1 (diff) | |
download | bcm5719-llvm-c1e13e2fe5971edeac6196e5d2163fadcc2dd5ef.tar.gz bcm5719-llvm-c1e13e2fe5971edeac6196e5d2163fadcc2dd5ef.zip |
Fix test syntax to work with non-bash /bin/sh.
llvm-svn: 206119
Diffstat (limited to 'llvm/utils/lit')
-rwxr-xr-x | llvm/utils/lit/utils/check-coverage | 4 | ||||
-rwxr-xr-x | llvm/utils/lit/utils/check-sdist | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/lit/utils/check-coverage b/llvm/utils/lit/utils/check-coverage index bb3d17e7579..128e827f22d 100755 --- a/llvm/utils/lit/utils/check-coverage +++ b/llvm/utils/lit/utils/check-coverage @@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; then fi # Parse command line arguments. -if [ "$1" == "--generate-html" ]; then +if [ "$1" = "--generate-html" ]; then GENERATE_HTML=1 shift fi # If invoked with no arguments, run all the tests. -if [ $# == "0" ]; then +if [ $# = "0" ]; then set -- "tests" fi diff --git a/llvm/utils/lit/utils/check-sdist b/llvm/utils/lit/utils/check-sdist index 743a971fbeb..f03266a1688 100755 --- a/llvm/utils/lit/utils/check-sdist +++ b/llvm/utils/lit/utils/check-sdist @@ -1,6 +1,6 @@ #!/bin/sh -if [ $# == 1 ]; then +if [ $# = 1 ]; then cd $1 fi |