Rename tests/update-test-read-dwarf-output.py
Renamed tests/update-test-read-dwarf-output.py into tests/update-test-output.py as it can be used for all tests that emit an output and compare it against a reference output. * tests/update-test-output.py: renamed tests/update-test-read-dwarf-output.py into this. Update its comments. Make this script executable. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
b4fc841a73
commit
4f9d682d0b
12
tests/update-test-read-dwarf-output.py → tests/update-test-output.py
Normal file → Executable file
12
tests/update-test-read-dwarf-output.py → tests/update-test-output.py
Normal file → Executable file
|
@ -1,11 +1,13 @@
|
|||
#!/bin/python
|
||||
|
||||
# This program generates the copy commands you should use to update
|
||||
# the reference data for test <build-dir>/tests/runtestreaddwarf,
|
||||
# which source code is test-read-dwarf.cc. It takes in argument the
|
||||
# diff result emitted by <build-dir>/tests/runtestreaddwarf, and emits
|
||||
# on standard output a series of 'cp <src> <dest>' commands to execute
|
||||
# to update reference data of the test.
|
||||
# the reference data for tests <build-dir>/tests/runtest* that emit an
|
||||
# output that is compared against a reference output.
|
||||
#
|
||||
# It takes in argument the diff result emitted by
|
||||
# <build-dir>/tests/runtest*, and emits on standard output a series of
|
||||
# 'cp <src> <dest>' commands to execute to update reference data of
|
||||
# the test.
|
||||
|
||||
import fileinput
|
||||
import re
|
Loading…
Reference in New Issue