JuliaStats / Distributions.jl

A Julia package for probability distributions and associated functions.
Other
1.12k stars 418 forks source link

[PkgEval] Distributions may have a testing issue on Julia 0.4 (2014-08-15) #277

Closed IainNZ closed 10 years ago

IainNZ commented 10 years ago

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Distributions")' log
INFO: Installing ArrayViews v0.4.6
INFO: Installing Distributions v0.5.4
INFO: Installing PDMats v0.2.3
INFO: Installing StatsBase v0.6.3
INFO: Package database updated

>>> 'using Distributions' log

>>> test log
Running tests:
 * samplers/categorical.jl
 * samplers/binomial.jl
 * samplers/poisson.jl
 * samplers/exponential.jl
 * samplers/gamma.jl
 * types.jl
 * fit.jl
 * discrete.jl
 * univariate.jl
 * truncate.jl
 * multinomial.jl
 * dirichlet.jl
 * hypergeometric.jl
 * multivariate.jl

ERROR: test error during size(d) == size(rand(d))
type Cholesky has no field uplo
 in _rand! at /home/idunning/pkgtest/.julia/v0.4/Distributions/src/multivariate/mvnormal.jl:123
 in rand at /home/idunning/pkgtest/.julia/v0.4/Distributions/src/multivariates.jl:18
 in anonymous at test.jl:62
 in do_test at test.jl:37
 in anonymous at no file:19
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in anonymous at no file:44
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_1724 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Distributions/test/multivariate.jl, in expression starting on line 18
while loading /home/idunning/pkgtest/.julia/v0.4/Distributions/test/runtests.jl, in expression starting on line 41

>>> end of log
IainNZ commented 10 years ago

https://github.com/JuliaLang/julia/pull/7236

lindahua commented 10 years ago

With recent commits, it is working now.