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:
Dodji Seketeli 2016-12-02 12:54:49 +01:00
parent b4fc841a73
commit 4f9d682d0b
1 changed files with 7 additions and 5 deletions

View 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