mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Update conform/Makefile mkdir commands.
conform/Makefile creates $(@D)/scratch for the per-standard per-header tests. That directory was formerly used by the Perl scripts for temporary files, but the Python implementations use tempfile.TemporaryDirectory to get such files cleaned up automatically. This patch changes the Makefile to create only $(@D) (required for the output redirection to work), not the scratch subdirectory. Tested for x86_64. * conform/Makefile ($(conformtest-header-tests)): Create $(@D), not $(@D)/scratch. ($(linknamespace-header-tests)): Likewise.
This commit is contained in:
parent
c3ec097256
commit
91faaa93a5
@ -1,5 +1,9 @@
|
||||
2018-11-09 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* conform/Makefile ($(conformtest-header-tests)): Create $(@D),
|
||||
not $(@D)/scratch.
|
||||
($(linknamespace-header-tests)): Likewise.
|
||||
|
||||
* conform/conformtest.py: New file.
|
||||
* conform/conformtest.pl: Remove.
|
||||
* conform/GlibcConform.pm: Likewise.
|
||||
|
@ -174,7 +174,7 @@ endif
|
||||
$(conformtest-header-tests): $(objpfx)%/conform.out: \
|
||||
conformtest.py $(conformtest-headers-data)
|
||||
(set -e; std_hdr=$*; std=$${std_hdr%%/*}; hdr=$${std_hdr#*/}; \
|
||||
mkdir -p $(@D)/scratch; \
|
||||
mkdir -p $(@D); \
|
||||
$(PYTHON) $< --cc='$(CC)' --flags='$(conformtest-cc-flags)' \
|
||||
--standard=$$std --header=$$hdr $(conformtest-xfail) \
|
||||
$(conformtest-cross) \
|
||||
@ -222,7 +222,7 @@ $(linknamespace-header-tests): $(objpfx)%/linknamespace.out: \
|
||||
$(linknamespace-symlists-tests) \
|
||||
$(linknamespace-symlist-stdlibs-tests)
|
||||
(set -e; std_hdr=$*; std=$${std_hdr%%/*}; hdr=$${std_hdr#*/}; \
|
||||
mkdir -p $(@D)/scratch; \
|
||||
mkdir -p $(@D); \
|
||||
$(PYTHON) $< --cc='$(CC)' --flags='$(conformtest-cc-flags)' \
|
||||
--standard=$$std --stdsyms=$(objpfx)symlist-$$std \
|
||||
--header=$$hdr --libsyms=$(objpfx)symlist-stdlibs-$$std \
|
||||
|
Loading…
Reference in New Issue
Block a user