Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Only run tests that need a running DS9 if display is set #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DougBurke
Copy link
Collaborator

Tests which are known to hang the system are only run if the DISPLAY environment variable is set. The idea is to be a bit-more helpful on potentially-problematic systems (e.g. the recent test failures due to time outs on Travis which I believe was to do with the xvfb-created display, but it's not clear that this would have actually avoided that problem).

Issues

  • what to do for Windows
  • this does not check that DISPLAY is set to a useful value, just that it is set (I think this is an okay restriction)

Addresses #91 - but I'm not convinced it's worth it at this time.

This is only likely to be useful for testing on CI platforms
and there is an issue with the DISPLAY setting. It is UNIX
specific, so needs re-thinking for Windows platforms.
This helps out on tests that would otherwise hang for ever (or
at least they appear to have a very-long time out). It is UNIX-specific,
and needs thinking about whether it's worth something similar for
Windows systems.
@DougBurke DougBurke changed the title Only test if display is set Only run tests that need a running DS9 if display is set Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant