Branch
Hash :
e93bde59
Author :
Date :
2025-01-03T10:23:56
tests: Use str_startswith. * tests/test-environ.c (main): Use str_startswith. * tests/test-getprogname.c (main): Likewise. * tests/test-libtextstyle.c (main): Likewise. * tests/test-strsignal.c (ASSERT_DESCRIPTION): Likewise. * modules/environ-tests (Depends-on): Add str_startswith. * modules/getprogname-tests (Depends-on): Likewise. * modules/libtextstyle-optional-tests (Depends-on): Likewise. * modules/strsignal-tests (Depends-on): Likewise.
Files:
tests/test-libtextstyle.c
tests/test-libtextstyle-default.css
Depends-on:
c99
isatty
str_startswith
configure.ac:
gl_LIBTEXTSTYLE_OPTIONAL
Makefile.am:
TESTS += test-libtextstyle
check_PROGRAMS += test-libtextstyle
test_libtextstyle_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"
test_libtextstyle_LDADD = $(LDADD) @LIBTEXTSTYLE@