Skip to content

Commit a582ef5

Browse files
author
Emile Joubert
committed
Add perl to tests
1 parent 7968a89 commit a582ef5

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ all:
1616
# least (as tested on debian 5.0):
1717
#
1818
# apt-get install python-virtualenv git-core php5-cli \
19-
# ruby1.8 ruby1.8-dev rdoc1.8 unzip mono-gmcs sun-java5-jdk
19+
# ruby1.8 ruby1.8-dev rdoc1.8 unzip mono-gmcs sun-java5-jdk \
20+
# cpan perl
2021
#
2122
#
2223
# You also need recent erlang, you may install it from sources following
@@ -30,7 +31,7 @@ all:
3031
# make
3132
# make install
3233
#
33-
test: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok python-puka/.ok
34+
test: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby/.ok python-puka/.ok perl/.ok
3435
RUBYVER=$(RUBYVER) python test.py
3536

3637
RABBITVER:=$(shell curl -s "http://www.rabbitmq.com/releases/rabbitmq-server/?C=N;O=D;F=0;V=1" | grep -oE '([0-9\.]{5,})' | head -n 1)
@@ -121,6 +122,13 @@ python-puka/.ok:
121122
./venv/bin/easy_install pip && \
122123
./venv/bin/pip install puka && \
123124
touch .ok)
125+
126+
perl/.ok:
127+
(cd perl && \
128+
cpan -i Net::RabbitFoot && \
129+
cpan -i UUID::Tiny && \
130+
touch .ok)
131+
124132
clean::
125133
(cd python-puka && \
126134
rm -rf .ok venv distribute*.tar.gz)

test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def gen(prog, arg="", **kwargs):
5050
}
5151
return [
5252
('python', './venv/bin/python %(prog)s.py %(arg)s' % ctx),
53+
('perl', 'perl %(prog)s.pl %(arg)s' % ctx),
5354
('erlang', './%(prog)s.erl %(arg)s' % ctx),
5455
('java', 'java -cp .:commons-io-1.2.jar:commons-cli-1.1.jar:'
5556
'rabbitmq-client.jar %(java)s %(arg)s' % ctx),

0 commit comments

Comments
 (0)