JuliaLang/julia — pull request #7748 by staticfloat (2014-07-27 18:51:03+00:00)
Title: [RFC] Ask user to run testsuite (#7745)

* Change `runtests.jl` so that when run without arguments, it assumes `"all"` was passed.

* Add functions to `interactiveutil.jl` that allow for getting and setting of a version string in `~/.julia/.firstboot` that notifies julia as to whether or not the current gitsha has been tested against the test suite

* Add a snippet into `etc/julia/juliarc.jl` to check for that file and determine whether it should nag the user.

So this approach may be a _little_ overkill, but I thought it was nice to think through a way that we can have "first-time setup" logic embedded into Julia. If this isn't the way we want to do it, then we should probably find another way to do it, but this way seemed easiest. The reason I squirrel the data away into `~/.julia` is because `Pkg.Dir._pkgroot()` is the only directory I know of that I will almost always have write access to.

If we want, we can make a `Base.silence_test_banner(forever=true)` that just writes out `1000.0.0` to `~/.julia/.firstboot`, and then it would never bother the user again.