Commit Graph

6 Commits

Author SHA1 Message Date
practicalswift
f6d6585ee0 [Python] Improve Python consistency: Use function_name(…) throughout (PEP8) 2016-02-29 22:49:19 +01:00
eeckstein
3f43950f82 Merge pull request #651 from modocache/cmpcodesize-list-functions-early-return
[cmpcodesize] Fix early return in --list
2016-02-26 14:30:41 -08:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Brian Gesiak
e7184aaac5 [cmpcodesize] Add code headers
Add code headers missing from the Python files in utils/cmpcodesize, as per
the template from #762.
2015-12-27 15:48:14 -05:00
Brian Gesiak
9b655ea0af [cmpcodesize] Fix early return in --list
Fixes a bug, introduced in a1f6040c83,
in which `cmpcodesize -l /path/to/file` would only output the *first* label,
instead of listing all of them.
2015-12-20 23:56:54 -05:00
Brian Gesiak
a1f6040c83 [cmpcodesize] Add some tests for listFunctionSizes
Add unit tests to cmpcodesize. As a basic starting point for unit
tests, add some tests for edge cases in listFunctionSizes.

Users may now run the unit tests for cmpcodesize by running
`python utils/cmpcodesize/setup.py test`.
2015-12-16 18:56:43 -05:00