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

Win32 test speedup - Part 1 #4544

Merged
merged 12 commits into from
May 28, 2024
Merged

Conversation

bdbaddog
Copy link
Contributor

Disabling tool initialization in tests where those tools aren't needed.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

@bdbaddog bdbaddog requested a review from mwichmann May 27, 2024 20:37
@@ -36,7 +36,8 @@
test.write(
'SConstruct',
"""\
env = Environment()
DefaultEnvironment(tools=[])
env = Environment(tools=[])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not leave the Environment call out entirely if env is never used? which I'm guessing is the case for this test, of course the diff doesn't show every line

@mwichmann mwichmann mentioned this pull request May 28, 2024
3 tasks
@mwichmann
Copy link
Collaborator

Rebasing after #4545 ought to make this go a lot faster - the last recorded run on this one was 34:46. We still want to know how much better the testsuite tweaks here make things.

@bdbaddog bdbaddog force-pushed the win32_test_speedup branch from 484f2d7 to 0bf264e Compare May 28, 2024 18:29
@bdbaddog
Copy link
Contributor Author

Rebasing after #4545 ought to make this go a lot faster - the last recorded run on this one was 34:46. We still want to know how much better the testsuite tweaks here make things.

Done.

@bdbaddog bdbaddog changed the title [WIP] Win32 test speedup Win32 test speedup - Part 1 May 28, 2024
@bdbaddog bdbaddog merged commit dd949a9 into SCons:master May 28, 2024
6 of 7 checks passed
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