[Pkg-julia-devel] Base.runtests() and examples symlink

Peter Colberg peter at colberg.org
Mon Nov 9 20:05:30 UTC 2015


Hi Graham, hi Sébastien,

I think we are getting close to an upload of the julia package.

One last issue I would like to solve is the test suite when run from
the REPL using Base.runtests(), which currently hangs itself during
the examples test. This is resolved by including the examples in
julia-common under /usr/share/julia/examples/.

The examples were previously shipped in julia-doc, so I added a
symlink at /usr/share/doc/julia-doc/examples. dpkg does not replace
an existing directory with a symlink on upgrade, however, so this would
require a preinst script that manually removes the directory (as done
in the ikiwiki package). Further the symlink would be dangling when
julia-doc is installed but not julia-common.

What do you think of moving the examples symlink to the julia package,
which depends on julia-common? That simplifies the upgrade and ensures
that the symlink never dangles, and a user is more likely to look into
doc/julia rather than doc/julia-common.


As for Base.runtests(), the examples test now passes, but the test
suite still hangs for me at the end and never prints SUCCESS. I will
do some further debugging.

While testing I thought that it would be great if we could have
package install tests on the buildds. These would be conducted
in a minimal environment without build-essential. For Julia, the
install test could include Base.runtests().

Regards,
Peter



More information about the Pkg-julia-devel mailing list