JuliaGeometry / OldMeshes.jl

A collection of tools for working with Meshes
Other
20 stars 12 forks source link

Feature/tweak testing #38

Closed KristofferC closed 9 years ago

KristofferC commented 9 years ago
coveralls commented 9 years ago

Coverage Status

Coverage increased (+44.36%) to 44.36% when pulling 0da38b4c007accd539bf398680570c540b490787 on KristofferC:feature/tweak_testing into fb88e73c254cdbd1dc33630625fce5d9b3d6355b on JuliaGeometry:master.

KristofferC commented 9 years ago

Lint seem to fail to initialize in v0.4 causing the test for v0.4 to fail.

Warning: error initializing module Lint:
Base.AssertionError(msg="typeof(ex.args[3]) == Symbol")
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: RTLD_GLOBAL not defined

Don't really know why...

sjkelly commented 9 years ago

This was probably caused by the LibC and LibDL move (https://github.com/JuliaLang/julia/pull/10328)

One alternative I have used is wrap using Lint; lingpkg(); in if "--lint" in ARGS so that lint is only run with runtests.jl --lint. I kind of find the lint output annoying after a while and less informative.

Otherwise these changes look good to me! I think you can self-merge, so feel free to do so when you are ready.

KristofferC commented 9 years ago

Yeah, maybe there isn't a big point in automatic linting at test unless failing to lint cleanly is considered a test failure.

Should I rebase the branch to squash the commits to a single one?

sjkelly commented 9 years ago

rebase and squash might be nice but not nessecary. I was realizing how much I polluted the git history on this repo by working directly on master a couple days ago...

sjkelly commented 9 years ago

I am alos seeing the same failure on https://github.com/JuliaGeometry/Meshes.jl/pull/39. I think the best thing to do here is put lint behind a CLI option and not bother running it on travis.