commit | 278875529d0b578f1d23bd92782b344bad7bcaa3 | [log] [tgz] |
---|---|---|
author | Chengyu Fan <chengy.fan@gmail.com> | Thu Mar 26 17:12:00 2015 -0600 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Mar 27 12:55:49 2015 -0500 |
tree | d4eceba6faad8b830990b12f2393e6c314420c53 | |
parent | 8b92f1238a77ed89a03dd61d65f8716e5c340cd7 [diff] [blame] |
Enable automatic compilation and unit test verification refs #2691 Change-Id: I0ab113fc9c4d481a74534fb8105a87dde8f76a12
diff --git a/.jenkins.d/util.sh b/.jenkins.d/util.sh new file mode 100755 index 0000000..81c8931 --- /dev/null +++ b/.jenkins.d/util.sh
@@ -0,0 +1,9 @@ +has() { + local p=$1 + shift + local x + for x in "$@"; do + [[ "${x}" == "${p}" ]] && return 0 + done + return 1 +}