From df6c63ebbce9679e755f0ecc716a33babee5d008 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Tue, 25 Feb 2020 10:15:30 -0500 Subject: localedef: Add tests-container test for --no-hard-links. The new tst-localedef-hardlinks verifies that when compiling two locales (with default output directory) one with --no-hard-links and one without the option, results in the expected behaviour. When --no-hard-links is used the link counts on LC_CTYPE is 1, indicating that even thoug the two locale are identical (though different named source files and output direcotry) the localedef did not carry out the hard link optimization. Then when --no-hard-links is omitted the localedef hard link optimization is correctly carried out and for 2 compiled locales the link count for LC_CTYPE is 2. Reviewed-by: DJ Delorie --- localedata/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'localedata/Makefile') diff --git a/localedata/Makefile b/localedata/Makefile index e89bacc1aa..ccfcb0049f 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -167,6 +167,8 @@ tests-special += $(objpfx)mtrace-tst-leaks.out endif endif endif +tests-container = \ + tst-localedef-hardlinks # Files to install. ifeq ($(INSTALL_UNCOMPRESSED),yes) -- cgit 1.4.1