()
| 135 | |
| 136 | |
| 137 | def help(): |
| 138 | print( |
| 139 | """Usage-Examples: |
| 140 | |
| 141 | # compile, decompyle and verify short tests for Python 2.7: |
| 142 | test_pythonlib.py --bytecode-2.7 --verify --compile |
| 143 | |
| 144 | # decompile all of Python's installed lib files |
| 145 | test_pythonlib.py --2.7 |
| 146 | |
| 147 | # decompile and verify known good python 2.7 |
| 148 | test_pythonlib.py --ok-2.7 --verify |
| 149 | """ |
| 150 | ) |
| 151 | sys.exit(1) |
| 152 | |
| 153 | |
| 154 | def do_tests(src_dir, obj_patterns, target_dir, opts): |