-
Notifications
You must be signed in to change notification settings - Fork 166
Check the capital has neighbouring system (SmokeTestGame) #5163
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
base: master
Are you sure you want to change the base?
Check the capital has neighbouring system (SmokeTestGame) #5163
Conversation
|
Why |
5ca40f2 to
3793147
Compare
cause i was confused; fixed |
|
build fails as test works |
|
It's quite unusual that Windows build didn't fail test. |
seems the signals do not get used or propagated correctly; as also the windows CI has the test fail there is the (succesful) parse test afterwards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually, for such changes, I "break" the code under the tests first and check how it fails.
It helps to be sure that it actually fails there I am expecting it, and allow to see if error message is human friendly.
| shell: pwsh | ||
| working-directory: build | ||
| run: | | ||
| $env:FO_CHECKSUM_SPECIES_NAME = "SP_CELESTEPHYTE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we create a custom file species that will not be a part of the game and modify it?
For the sake of the parser testing, we could add all possible effects and conditions there. (not in this review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I remember I tried to test crash on parsing and outputting dump.
|
both macos are also succeeding |
|
@agrrr3 MacOS skips Smoke* system tests because it cann't launch server binary. |
|
So we can merge, cant we? |
… a system Test freeorion#5163 (master should fail with the test but without the fix) Issue freeorion#5158 QA Status: quickfix completely untested the underlying issue why this surfaces is not fixed with this. the underlying issue is that the empire graphs do get cleaned when the generic graph gets cleaned and not rebuild before the AI uses the empire graphs waiting for some comments on what the intended design is
… a system Test freeorion#5163 (master should fail with the test but without the fix) Issue freeorion#5158 QA Status: quickfix completely untested the underlying issue why this surfaces is not fixed with this. the underlying issue is that the empire graphs do get cleaned when the generic graph gets cleaned and not rebuild before the AI uses the empire graphs waiting for some comments on what the intended design is
|
Shouldn't we merge fix first? |
|
only if it does not break the test ;) (the quickfix currently does; could
not compile/run the tests when i made it)
…On Wed, Mar 19, 2025 at 11:12 AM O01eg ***@***.***> wrote:
Shouldn't we merge fix first?
—
Reply to this email directly, view it on GitHub
<#5163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYZ6SMKHX7AE7ZXCHBFYQL2VE7KRAVCNFSM6AAAAABZACHPMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMZWGAZTMMZRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: o01eg]*o01eg* left a comment (freeorion/freeorion#5163)
<#5163 (comment)>
Shouldn't we merge fix first?
—
Reply to this email directly, view it on GitHub
<#5163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYZ6SMKHX7AE7ZXCHBFYQL2VE7KRAVCNFSM6AAAAABZACHPMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMZWGAZTMMZRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
… a system Test freeorion#5163 (master should fail with the test but without the fix) Issue freeorion#5158 QA Status: quickfix completely untested the underlying issue why this surfaces is not fixed with this. the underlying issue is that the empire graphs do get cleaned when the generic graph gets cleaned and not rebuild before the AI uses the empire graphs waiting for some comments on what the intended design is
|
actually the working quickfix does not make the test complete. and i am not sure how to modify the test in a meaningful way as this is currently a timing issue. |
|
@agrrr3 OK, at least we'll get fix for AI. |
… a system Test #5163 (master should fail with the test but without the fix) Issue #5158 QA Status: quickfix completely untested the underlying issue why this surfaces is not fixed with this. the underlying issue is that the empire graphs do get cleaned when the generic graph gets cleaned and not rebuild before the AI uses the empire graphs waiting for some comments on what the intended design is
intended to expose #5158