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

Generalize reduce_tests tool #40358

Merged
merged 1 commit into from
May 9, 2020

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

Previously reduce_tests worked only with one test executable (tests/cata_test), but when building with CMake you might have a different one.

Describe the solution

Use whichever is the most recently modified.

Describe alternatives you've considered

Allow you to specify which you want.

Testing

Manually verified it now works with cata_test-tiles when that's newer.

Additional context

I have a new way to build the CMake build which is much faster, so I want to be able to rely on that for my test reduction.

Previously it worked only with one test executable, but when building
with CMake you might have a different one.  Use whichever is the most
recently modified.
@ZhilkinSerg ZhilkinSerg merged commit 37a0602 into CleverRaven:master May 9, 2020
fengjixuchui added a commit to fengjixuchui/Cataclysm-DDA that referenced this pull request May 9, 2020
Merge pull request CleverRaven#40358 from jbytheway/generalize_reduce…
@jbytheway jbytheway deleted the generalize_reduce_tests branch May 9, 2020 17:59
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