1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00
Files
gnulib/modules/nstrftime-tests
Bruno Haible b2a583ead5 tests: Use memeq, part 1.
Done through
  sed -e 's/memcmp \([(][^()]*[)]\) == 0/memeq \1/g' \
      -e 's/memcmp \([(][^()]*[(][^()]*[)][^()]*[)]\) == 0/memeq \1/g'

* tests/**/*.[hc]: Use memeq instead of memcmp ... == 0.
* modules/*-tests (Dependencies): Add memeq.
2026-03-01 12:36:28 +01:00

68 lines
1.6 KiB
Plaintext

Files:
tests/test-nstrftime-1.sh
tests/test-nstrftime-2.sh
tests/test-nstrftime.c
tests/test-nstrftime.h
tests/test-nstrftime-DE.c
tests/test-nstrftime-TH.c
tests/test-nstrftime-IR.c
tests/test-nstrftime-ET.c
tests/test-nstrftime-w32utf8.sh
tests/test-nstrftime-w32utf8.c
tests/windows-utf8.rc
tests/windows-utf8.manifest
tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
m4/musl.m4
m4/windows-rc.m4
Depends-on:
atoll
c99
intprops
localcharset
setenv
setlocale
strerror
streq
memeq
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gl_MUSL_LIBC
gl_WINDOWS_RC
Makefile.am:
TESTS += \
test-nstrftime-1.sh \
test-nstrftime-2.sh \
test-nstrftime-DE \
test-nstrftime-TH \
test-nstrftime-IR \
test-nstrftime-ET
TESTS_ENVIRONMENT += \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
check_PROGRAMS += \
test-nstrftime \
test-nstrftime-DE \
test-nstrftime-TH \
test-nstrftime-IR \
test-nstrftime-ET
test_nstrftime_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBTHREAD)
test_nstrftime_DE_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBTHREAD)
test_nstrftime_TH_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBTHREAD)
test_nstrftime_IR_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBTHREAD)
test_nstrftime_ET_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBTHREAD)
if OS_IS_NATIVE_WINDOWS
TESTS += test-nstrftime-w32utf8.sh
noinst_PROGRAMS += test-nstrftime-w32utf8
test_nstrftime_w32utf8_LDADD = $(LDADD) test-nstrftime-windows-utf8.res $(SETLOCALE_LIB) $(LIBTHREAD)
test-nstrftime-windows-utf8.res : $(srcdir)/windows-utf8.rc
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-nstrftime-windows-utf8.res --output-format=coff
MOSTLYCLEANFILES += test-nstrftime-windows-utf8.res
endif