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

Add md5 comparison tool #30

Merged
merged 2 commits into from
Dec 5, 2020
Merged

Conversation

stevegt
Copy link
Contributor

@stevegt stevegt commented Dec 4, 2020

Hi Jason,

Here's the commit for the md5 comparison tool, including a README for operation. We debated some of the design decisions amongst ourselves; some of this could be done differently, but in general this is at least a reasonable stopgap until we have real unit tests, so I'm pretty happy.

At the moment, we're automatically running the md5 checks as part of make test, which seems to be lightweight enough. We thought about splitting it out as e.g. make md5sums, which might make sense if we find it getting in the way during fast iterations. Otherwise it's a fast recovery when a rendered file does need to change -- just run make update-md5sums in the example's own directory. Details are in the README.

As far as change frequency, so far the only rendered file that has a new md5 sum since 05 Nov 2020 is flange.stl -- the shrink variable changing from a var to a const was a factor in causing some floating point rounding differences there. We learned a lot while doing a deep dive on that one. ;-) The moves of things from sdf/ to obj/ so far haven't altered any of the rendered outputs.

  • partial fix for test cases #28
  • add README for interpreting md5 results
  • add MD5SUM reference files to all example directories
  • add md5tool executable to gitignore
  • simplify top-level Makefile

koshchei and others added 2 commits December 2, 2020 17:55
- partial fix for deadsy#28
- add README for interpreting md5 results
- add MD5SUM reference files to all example directories
- add md5tool executable to gitignore
- simplify top-level Makefile

Co-authored-by: Steve Traugott <stevegt@t7a.org>
Co-authored-by: ryan <xfactor529@gmail.com>
add md5 comparison tool to test suite
@deadsy deadsy merged commit 43b423b into deadsy:master Dec 5, 2020
@stevegt stevegt mentioned this pull request Dec 7, 2020
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.

None yet

3 participants