-
Notifications
You must be signed in to change notification settings - Fork 37
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
Expand fpp-to-json tests #660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I refactored the new fpp-to-json/fpp-check tests a bit. I moved those tests to a subdirectory. I used find
instead of iterating over directories to find the fpp-check test input files. It's more efficient, and it finds files at all directory levels; before we were only going down one level. I revised the format of the test output so that the longer test names don't crash into the PASSED or FAILED output.
I also ran dostounix
on the top-level source file for fpp-to-json
. There were some stray ^M characters in there, probably from back when the file was created.
Run fpp-to-json on fpp-check test cases to improve code coverage.
Update trace file to prevent crashes when running the fpp-to-json native build.
Closes #468.