Skip to content

no stack trace for some errors outside @test #26155

Closed

Description

E.g.

Error in testset FileWatching:
Error During Test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\test\testdefs.jl:19
  Got an exception of type LoadError outside of a @test
  LoadError: FDWatcher: socket operation on non-socket (ENOTSOCK)
  in expression starting at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\site\v0.7\FileWatching\test\runtests.jl:77
ERROR: LoadError: Test run finished with errors

This makes it basically impossible to diagnose such failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    error handlingHandling of exceptions by Julia or the usertestsystemThe unit testing framework and Test stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions