Code Review
/
packages
/
centos6
/
ruby21-rubygem-amqp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Added in 5.0 for migrate to ruby-2.1
[packages/centos6/ruby21-rubygem-amqp.git]
/
test
/
runtest.sh
diff --git a/test/runtest.sh
b/test/runtest.sh
new file mode 100755
(executable)
index 0000000..
bfc9d9c
--- /dev/null
+++ b/
test/runtest.sh
@@ -0,0
+1,13
@@
+#!/bin/bash -x
+RES=0
+case $1 in
+ruby21-rubygem-amqp)
+ echo "Testing $1"
+ ruby -r 'rubygems' -e "require 'amqp'"
+ RES=$?
+;;
+*)
+ echo "test not defined, skipping..."
+;;
+esac
+exit $RES