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

Issue175 bisect test one arg #181

Merged
merged 6 commits into from
Jul 23, 2018
Merged

Conversation

mikebentley15
Copy link
Collaborator

Fix #175 so that the is_bad() function passed to bisect_search() only takes the list of variables to test, and not the complement.

I also added a unit test for bisect that actually tests to see if bisect can identify blamed files and symbols. This partially addresses #137. It is fairly comprehensive for the basic functionality of bisect. It does not address all of the features of bisect. It is also a bit too hard-coded to the current behavior and is not very generic and is able to break from small changes to bisect implementation.

Documentation: this change does not change anything that is specified in the documentation, so no changes here necessary

Testing: test is added and all tests pass

This is more in line with delta debugging.  It makes it so that we only
pass in the list of objects we want to test.  It is really implementation
details for the problem being addressed that says we actually care about
the complement.  Also, the complement is easy enough to compute in the
test function without adding unnecessary computational complexity
@mikebentley15 mikebentley15 requested a review from IanBriggs July 22, 2018 03:16
@mikebentley15
Copy link
Collaborator Author

Ian, would you do me the pleasure of reviewing my code? You are welcome to put in comments, checkout the branch and do the fixes, or both.

Something I learned doing the last code review, when you go to make your first comment in the code, click on "Start a review" rather than just "comment". It will register all of your comments as part of your code review. Then when you're done, click on "Review changes" at the top and say what the final result of your review is to close it.

Copy link
Collaborator

@IanBriggs IanBriggs left a comment

Choose a reason for hiding this comment

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

No changes needed.

@mikebentley15 mikebentley15 merged commit 131dbbb into devel Jul 23, 2018
@mikebentley15 mikebentley15 deleted the issue175-bisect-test-one-arg branch July 23, 2018 16:34
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