glibc/conform
Joseph Myers 3ca235ed36 Convert linknamespace tests from Perl to Python.
This patch replaces conform/linknamespace.pl with a new
conform/linknamespace.py, so continuing the consolidation on Python
instead of Perl for miscellaneous scripts used in building and testing
glibc.  The new script follows the same logic as the old one; as a
recently-added script, there were no major cleanups to be made in the
course of the language conversion.

Tested for x86_64, and with build-many-glibcs.py.  For x86_64 I also
tested that if the Perl and Python scripts were made to print all the
symbols in seen_where and the paths of symbol references by which
those symbols were linked in, even when those symbols were OK,
identical symbol lists appeared in the output with both versions of
the script (the differences in linknamespace.out files were only in
paths to temporary files in diagnostics for e.g. deprecated functions,
and error output for the expected compilation failures when testing
ndbm.h and varargs.h).

	* conform/linknamespace.py: New file.
	* conform/linknamespace.pl: Remove file.
	* conform/Makefile ($(linknamespace-header-tests)): Use
	linknamespace.py instead of linknamespace.pl.  Do not use --tmpdir
	option.
2018-10-30 22:18:34 +00:00
..
data conform: XFAIL siginfo_t si_band test on sparc64 2018-10-25 14:36:57 +02:00
check-header-lists.sh
conformtest.pl conform/conformtest.pl: Escape literal braces in regular expressions 2018-07-06 16:31:55 +02:00
GlibcConform.pm
glibcconform.py Use tempfile.TemporaryDirectory in conform/glibcconform.py. 2018-10-29 17:49:07 +00:00
linknamespace.py Convert linknamespace tests from Perl to Python. 2018-10-30 22:18:34 +00:00
list-header-symbols.py Replace conform/list-header-symbols.pl with a Python script. 2018-08-31 21:19:51 +00:00
Makefile Convert linknamespace tests from Perl to Python. 2018-10-30 22:18:34 +00:00