]> git.ipfire.org Git - thirdparty/glibc.git/commit
test-container: Support $(complocaledir) and mkdirp.
authorCarlos O'Donell <carlos@redhat.com>
Thu, 23 Jan 2020 14:45:00 +0000 (09:45 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 30 Apr 2020 20:28:07 +0000 (16:28 -0400)
commit033362cfd7e0e1dccd6c9a2642710d6e3a7e7007
tree1666d081974a09309f0c57b2fed7603897ff4f6b
parent19108a38325c6ecb33e8d216ee1056e2732bc20f
test-container: Support $(complocaledir) and mkdirp.

Expand the support infrastructure:
- Create $(complocaledir) in the testroot.pristine to support localedef.
- Add the variable $complocaledir to script support.
- Add the script command 'mkdirp'.

All localedef tests which run with default paths need to have the
$(complocaledir) created in testroot.pristine. The localedef binary
will not by itself create the default path, but it will write into
the path. By adding this we can simplify the localedef tests.

The variable $complocaledir is the value of the configured
$(complocaledir) which is the location of the compiled locales that
will be searched by the runtime by default.

The command mkdirp will be available in script setup and will
be equivalent to running `mkdir -p`.

The variable and command can be used to write more complex tests.

Reviewed-by: DJ Delorie <dj@redhat.com>
Makefile
support/test-container.c