Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUT v9.2.0: Exit on Finished does not work where test fails with "[ERROR]: Could not find script matching '...'" #568

Closed
hsandt opened this issue Feb 16, 2024 · 2 comments

Comments

@hsandt
Copy link

hsandt commented Feb 16, 2024

I work on a lowres game and the GUT window embedded in game is not really usable, so I just keep Exit on Finished checked. But when a test cannot be found and I have the error:

[ERROR]: Could not find script matching '...'

the window just stays there.

image

I must close it and read the proper error message in the editor GUT window instead (by the way font size is 30 by default, which was also too big, so I had to reduce it to 14 to get a look similar to GUT v9.0)

It probably needs at least one test to work?

Repro
0. Check Exit on Finished

  1. Intentionally disable Test Directories to force test file miss
  2. Open .gd with test in missed file
  3. Manually run some test in that file using the GUT Play buttons (not Run All)
@bitwes
Copy link
Owner

bitwes commented Feb 16, 2024

I leave the window open on purpose. My thought was that the case where no test was found was unique enough that it should be treated differently. That may have been done before the panel existed. We can probably close the window now, even when a test isn't found (especially since directories can now be toggled). I may need to add something to the panel to make it clear that no tests were ran.

As for the window not being usable in low res games, could you make another issue and list your resolution settings? There might be some ways to address this, possibly through a pre-run hook script. Having that info in another issue would be helpful.

@bitwes
Copy link
Owner

bitwes commented Apr 24, 2024

Creating another issue to handle no tests found. It also states that all tests passed when no tests are found which is very misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants