Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add perl to tests

  • Loading branch information...
commit a582ef5f08fe8cbbee11fd64d72e96fdd241e97a 1 parent 7968a89
emile authored July 16, 2012

Showing 2 changed files with 11 additions and 2 deletions. Show diff stats Hide diff stats

  1. 12  Makefile
  2. 1  test.py
12  Makefile
@@ -16,7 +16,8 @@ all:
16 16
 # least (as tested on debian 5.0):
17 17
 #
18 18
 #     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
20 21
 #
21 22
 #
22 23
 # You also need recent erlang, you may install it from sources following
@@ -30,7 +31,7 @@ all:
30 31
 #     make
31 32
 #     make install
32 33
 #
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
34 35
 	RUBYVER=$(RUBYVER) python test.py
35 36
 
36 37
 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:
121 122
 		./venv/bin/easy_install pip && \
122 123
 		./venv/bin/pip install puka && \
123 124
 		touch .ok)
  125
+
  126
+perl/.ok:
  127
+	(cd perl && \
  128
+		cpan -i Net::RabbitFoot && \
  129
+		cpan -i UUID::Tiny && \
  130
+		touch .ok)
  131
+
124 132
 clean::
125 133
 	(cd python-puka && \
126 134
 		rm -rf .ok venv distribute*.tar.gz)
1  test.py
@@ -50,6 +50,7 @@ def gen(prog, arg="", **kwargs):
50 50
         }
51 51
     return [
52 52
         ('python', './venv/bin/python %(prog)s.py %(arg)s' % ctx),
  53
+        ('perl', 'perl %(prog)s.pl %(arg)s' % ctx),
53 54
         ('erlang', './%(prog)s.erl %(arg)s' % ctx),
54 55
         ('java', 'java -cp .:commons-io-1.2.jar:commons-cli-1.1.jar:'
55 56
              'rabbitmq-client.jar %(java)s %(arg)s' % ctx),

0 notes on commit a582ef5

Please sign in to comment.
Something went wrong with that request. Please try again.