Make example tests work again
authorEli Bendersky <eliben@google.com>
Tue, 7 Jul 2015 23:07:51 +0000 (16:07 -0700)
committerEli Bendersky <eliben@google.com>
Tue, 7 Jul 2015 23:07:51 +0000 (16:07 -0700)
commit8df1ab95849e9445a520b736f25a80b447c0bfbf
treefe8fa5a898787b94da179f83aaaec81ca081ecaa
parent718249a0d2ac3350d4413034d43385619f70722b
Make example tests work again

The example test runner now passes a special --test flag as the first
command-line argument. This affects the behavior of the examples - making them
aim at testing. Only very simple command-line flag "parsing" is used here for
the sake of minimality.
examples/dwarf_decode_address.py
examples/dwarf_die_tree.py
examples/dwarf_location_lists.py
examples/dwarf_range_lists.py
examples/elf_low_high_api.py
examples/elf_relocations.py
examples/elf_show_debug_sections.py
examples/elfclass_address_size.py
examples/examine_dwarf_info.py
test/run_examples_test.py
test/utils.py