Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Aug 16, 2018
1 parent cdbacde commit 8d4bbb7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sudo: required
os:
- linux
julia:
- 1
- 1.0
- nightly
services:
- rabbitmq
Expand Down
11 changes: 2 additions & 9 deletions test/test_coverage.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
module AMQPTestCoverage

using AMQPClient
@static if VERSION < v"0.7.0-DEV.2005"
using Base.Test
else
using Test
end
using AMQPClient, Test, Random

@static if isdefined(Sys, :BINDIR)
const JULIA_HOME = Sys.BINDIR
end
const JULIA_HOME = Sys.BINDIR

const EXCG_DIRECT = "ExcgDirect"
const EXCG_FANOUT = "ExcgFanout"
Expand Down
11 changes: 2 additions & 9 deletions test/test_rpc.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
module AMQPTestRPC

using AMQPClient
@static if VERSION < v"0.7.0-DEV.2005"
using Base.Test
else
using Test
end
using AMQPClient, Test, Random

@static if isdefined(Sys, :BINDIR)
const JULIA_HOME = Sys.BINDIR
end
const JULIA_HOME = Sys.BINDIR

const QUEUE_RPC = "queue_rpc"

Expand Down
11 changes: 2 additions & 9 deletions test/test_throughput.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
module AMQPTestThroughput

using AMQPClient
@static if VERSION < v"0.7.0-DEV.2005"
using Base.Test
else
using Test
end
using AMQPClient, Test, Random

@static if isdefined(Sys, :BINDIR)
const JULIA_HOME = Sys.BINDIR
end
const JULIA_HOME = Sys.BINDIR

const EXCG_DIRECT = "amq.direct"
const QUEUE1 = "queue1"
Expand Down

0 comments on commit 8d4bbb7

Please sign in to comment.