Skip to content

Commit

Permalink
Merge pull request apache#192 from dmlc/vc/review_comments
Browse files Browse the repository at this point in the history
remove BaseTestNext and bump Compat
  • Loading branch information
vchuravy authored Jan 28, 2017
2 parents cac5625 + d0d7963 commit d59b214
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 61 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
julia 0.5
Compat 0.9.1
Compat 0.9.5
Formatting
BinDeps
JSON
7 changes: 1 addition & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

# run test in the whole directory, latest modified files
# are run first, this makes waiting time shorter when writing
Expand Down
7 changes: 1 addition & 6 deletions test/unittest/bind.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestBind
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: rand_dims, reldiff

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/io.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestIO
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: rand_dims, reldiff

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/kvstore.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestKVStore
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: rand_dims

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/name.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestNameManager
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

function test_default()
info("NameManager::default")
Expand Down
7 changes: 1 addition & 6 deletions test/unittest/ndarray.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestNDArray
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: rand_dims, reldiff

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/operator.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestOperator
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: rand_dims, reldiff

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/random.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestRandom
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

function test_uniform()
dims = (100, 100, 2)
Expand Down
7 changes: 1 addition & 6 deletions test/unittest/symbolic-node.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestSymbolicNode
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: mlp2, reldiff

Expand Down
7 changes: 1 addition & 6 deletions test/unittest/visualize.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
module TestVisualize
using MXNet
if VERSION v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

using ..Main: mlp2

Expand Down

0 comments on commit d59b214

Please sign in to comment.