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

Cannot find annotation point for Debug.LogError stack trace #278

Closed
12joan opened this issue Jul 19, 2024 · 0 comments · Fixed by #279
Closed

Cannot find annotation point for Debug.LogError stack trace #278

12joan opened this issue Jul 19, 2024 · 0 comments · Fixed by #279
Labels
bug Something isn't working

Comments

@12joan
Copy link
Contributor

12joan commented Jul 19, 2024

Bug description

When a test fails due to a Debug.LogError message, results-parser.ts fails to parse the annotation point for its stack trace, which looks like this:

FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:104)
FMOD.System:setOutput (FMOD.OUTPUTTYPE) (at Assets/Plugins/FMOD/src/fmod.cs:1048)
FMODUnity.RuntimeManager:Initialize () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:330)
FMODUnity.RuntimeManager:get_Instance () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:207)
FMODUnity.RuntimeManager:get_StudioSystem () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:225)
FMODUnity.StudioListener:AddListener (FMODUnity.StudioListener) (at Assets/Plugins/FMOD/src/StudioListener.cs:72)
FMODUnity.StudioListener:OnEnable () (at Assets/Plugins/FMOD/src/StudioListener.cs:90)

How to reproduce

  • Create a test that fails due to Debug.LogError
  • In the GitHub workflow logs, see Warning: Not able to find annotation point for failed test!

Expected behavior

The annotation point should be parsed correctly, just as it is for exceptions.

Additional details

Related: #277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant