-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tidy up some comments and pylint warnings. * Exit if a testdata/ input file isn't found. This allows the other tests to still run even if you haven't cloned testdata. * Print a message when the decode succeeds. * Put ld-cut's output file in the testout directory. * Add testdata to .gitignore. * Convert tests into rules in the Makefile. You can now say "make check" to run the tests locally. * Handle unexpected EOF in JsonReader. Previously it would get stuck in a loop if it encountered EOF in the middle of a string. * Handle \/ as a valid escape sequence in JsonReader. * Add some unit tests for JsonReader.
- Loading branch information
Showing
6 changed files
with
305 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ __pycache__ | |
|
||
# ld-decode data files | ||
*.tbc | ||
testdata | ||
testout | ||
|
||
# Profiling results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.