File: setlocale-tests

package info (click to toggle)
gnulib 20250303-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188,836 kB
  • sloc: ansic: 378,598; sh: 30,630; python: 8,358; cpp: 2,811; yacc: 1,846; perl: 920; makefile: 577; lisp: 328; sed: 11; java: 5
file content (49 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Files:
tests/test-setlocale1.sh
tests/test-setlocale1.c
tests/test-setlocale2.sh
tests/test-setlocale2.c
tests/test-setlocale-w32.c
tests/test-setlocale-w32utf8.sh
tests/test-setlocale-w32utf8.c
tests/windows-utf8.rc
tests/windows-utf8.manifest
tests/signature.h
tests/macros.h
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/codeset.m4
m4/windows-rc.m4

Depends-on:
strdup
test-xfail

configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN
gl_WINDOWS_RC

Makefile.am:
TESTS += test-setlocale1.sh test-setlocale2.sh test-setlocale-w32
TESTS_ENVIRONMENT += \
  LOCALE_FR='@LOCALE_FR@' \
  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
  LOCALE_JA='@LOCALE_JA@' \
  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-setlocale1 test-setlocale2 test-setlocale-w32
test_setlocale1_LDADD = $(LDADD) @SETLOCALE_LIB@
test_setlocale2_LDADD = $(LDADD) @SETLOCALE_LIB@
test_setlocale_w32_LDADD = $(LDADD) @SETLOCALE_LIB@

if OS_IS_NATIVE_WINDOWS
TESTS += test-setlocale-w32utf8.sh
noinst_PROGRAMS += test-setlocale-w32utf8
test_setlocale_w32utf8_LDADD = $(LDADD) test-setlocale-windows-utf8.res $(SETLOCALE_LIB)
test-setlocale-windows-utf8.res : $(srcdir)/windows-utf8.rc
	$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-setlocale-windows-utf8.res --output-format=coff
MOSTLYCLEANFILES += test-setlocale-windows-utf8.res
endif