Skip to content

test: the finish checks give the build its arguments, read since #1866 - #2102

Closed
jarynclouatre wants to merge 1 commit into
NotRexed:mainfrom
jarynclouatre:test/finish-checks-build-args
Closed

jarynclouatre wants to merge 1 commit into
NotRexed:mainfrom
jarynclouatre:test/finish-checks-build-args

Conversation

@jarynclouatre

Copy link
Copy Markdown
Contributor

Main's checks are red on every OS since #1866. The end of make_game.py's build now reads the build's arguments (fsr_wanted(a, out)) to decide whether AMD's FSR 4 runtime goes beside the game. The two checks that run that part of the real build, tests/test_finish_output.py and tests/test_linux_update.py, have no a to give it: NameError: name 'a' is not defined, in five cases of the first and one of the second.

Both now pass the arguments of a build without AMD FSR 4, so the same lines run as before and the new one takes its "not asked for" branch. #2092 does not touch these two files.

Testing (Linux): both tests fail on f915af9 with the NameError and pass with this change.

…exed#1866

Main is red on every OS since NotRexed#1866: the end of make_game.py's build now reads the build's arguments
(fsr_wanted(a, out)) to decide whether AMD's FSR 4 runtime goes beside the game, and the two checks that run that
part of the real build, tests/test_finish_output.py and tests/test_linux_update.py, had no "a" to give it:
NameError: name 'a' is not defined, in five cases of the first and one of the second.

Both now pass the arguments of a build without AMD FSR 4, so the same lines run as before and the new one takes its
"not asked for" branch.
@hckrman101

Copy link
Copy Markdown
Collaborator

Heads-up: this conflicts with main now. Could you rebase onto main and resolve the conflicts? Thanks!

@jarynclouatre

Copy link
Copy Markdown
Contributor Author

Main already made the same fix in #2109 (7d24a73), so this one isn't needed anymore. Closing.

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

Successfully merging this pull request may close these issues.

2 participants