/
githubmirror
/
libpsl
Обзор
Документация
Войти
/
githubmirror
/
libpsl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/Makefile.am
45 строк
2 KB
Tim Rühsen
Fix make distcheck
23 июн 2026, 21:19
23 июн 2026, 21:19
e4cba44
Код
Авторство
О чём код?
DEFS = @DEFS@ \ -DSRCDIR=\"$(srcdir)\" \ -DPSL_FILE=\"$(PSL_FILE)\" \ -DPSL_TESTFILE=\"$(PSL_TESTFILE)\" \ -DPSL_DAFSA=\"$(top_srcdir)/tests/psl.dafsa\" \ -DPSL_ASCII_DAFSA=\"$(top_srcdir)/tests/psl_ascii.dafsa\" AM_CPPFLAGS = @AM_CPPFLAGS@ AM_CFLAGS = @AM_CFLAGS@ AM_LDFLAGS = @AM_LDFLAGS@ -no-install LDADD = $(top_builddir)/src/libpsl.la # ./configure'd with '--disable-builtin' # Do not call test-is-public-builtin here: it does not make sense. # Do not call test-registrable-domain here: it would fail due to missing punycode entries in PSL file. PSL_TESTS = test-is-public test-is-public-all test-is-cookie-domain-acceptable if ENABLE_BUILTIN PSL_TESTS += test-is-public-builtin test-registrable-domain test_is_public_builtin_SOURCES = test-is-public-builtin.c $(common_SOURCES) test_registrable_domain_SOURCES = test-registrable-domain.c $(common_SOURCES) endif check_PROGRAMS = $(PSL_TESTS) TESTS_ENVIRONMENT = TESTS_VALGRIND="@VALGRIND_ENVIRONMENT@" TESTS = $(PSL_TESTS) common_SOURCES = common.c common.h test_is_public_SOURCES = test-is-public.c $(common_SOURCES) test_is_public_all_SOURCES = test-is-public-all.c $(common_SOURCES) test_is_cookie_domain_acceptable_SOURCES = test-is-cookie-domain-acceptable.c $(common_SOURCES) # dafsa.psl and dafsa_ascii.psl must be created before any test is executed # check-local target works in parallel to the tests, so the test suite will likely fail BUILT_SOURCES = psl.dafsa psl_ascii.dafsa psl.dafsa: $(PSL_FILE) $(PYTHON) $(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" $(top_srcdir)/tests/psl.dafsa psl_ascii.dafsa: $(PSL_FILE) $(PYTHON) $(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" $(top_srcdir)/tests/psl_ascii.dafsa MAINTAINERCLEANFILES = psl.dafsa psl_ascii.dafsa # Add the dafsa files because building them is expensive and requires python to be installed. EXTRA_DIST = meson.build psl.dafsa psl_ascii.dafsa