Skip to content
Guy M. Allard edited this page Apr 23, 2015 · 1 revision

Script follows:

#!/bin/sh
#

# stompserver_ng
set -x
pref="STOMP_PORT=51613 go test -v"
echo =============== stompserver_ng ===============
eval $pref

# AMQ - 1.0
pref="STOMP_PORT=61613 go test -v"
echo =============== AMQ 1.0 ===============
eval $pref

# AMQ - 1.1
pref="STOMP_PORT=61613 STOMP_TEST11p=1.1 STOMP_AMQ11=y go test -v"
echo =============== AMQ 1.1 ===============
eval $pref

# AMQ - 1.2
pref="STOMP_PORT=61613 STOMP_TEST11p=1.2 STOMP_AMQ11=y go test -v"
echo =============== AMQ 1.2 ===============
eval $pref

# Apollo - 1.0
pref="STOMP_PORT=62613 STOMP_APOLLO=y go test -v"
echo =============== Apollo 1.0 ===============
eval $pref

# Apollo - 1.1
pref="STOMP_PORT=62613 STOMP_TEST11p=1.1 STOMP_APOLLO=y go test -v"
echo =============== Apollo 1.1 ===============
eval $pref

# Apollo - 1.2
pref="STOMP_PORT=62613 STOMP_TEST11p=1.2 STOMP_APOLLO=y go test -v"
echo =============== Apollo 1.2 ===============
eval $pref

# Rabbitmq - 1.0
pref="STOMP_RMQ=y STOMP_PORT=41613 go test -v"
echo =============== RMQ 1.0 ===============
eval $pref

# Rabbitmq - 1.1
pref="STOMP_TEST11p=1.1 STOMP_RMQ=y STOMP_PORT=41613 go test -v"
echo =============== RMQ 1.1 ===============
eval $pref

# Rabbitmq - 1.2
pref="STOMP_TEST11p=1.2 STOMP_RMQ=y STOMP_PORT=41613 go test -v"
echo =============== RMQ 1.2 ===============
eval $pref

set +x
exit 0
Clone this wiki locally