/
githubmirror
/
libidn2
Обзор
Документация
Войти
/
githubmirror
/
libidn2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/Makefile.am
59 строк
2 KB
Simon Josefsson
Run 'make my-update-copyright' to update copyright years
02 июн 2026, 17:02
Не верифицирован
02 июн 2026, 17:02
c4f4072
Код
Авторство
О чём код?
# Copyright (C) 2011-2026 Simon Josefsson # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib -I$(srcdir) -I$(top_builddir) AM_CPPFLAGS += -I$(top_builddir)/gl -I$(top_srcdir)/gl AM_CPPFLAGS += -DSRCDIR=\"$(srcdir)\" AM_CFLAGS = $(WERROR_CFLAGS) $(WERROR_TESTS_CFLAGS) $(WARN_CFLAGS) AM_LDFLAGS = -no-install AM_VALGRINDFLAGS = --suppressions=$(top_srcdir)/gl/libunistring.valgrind LDADD = ../lib/libidn2.la LDADD += ../gl/libgnu.la $(LTLIBUNISTRING) EXTRA_DIST = standalone.sh ctests = test-version test-strerror test-locale test-tounicode ctests += test-punycode test-compat-punycode ctests += test-IdnaTest-inc test-IdnaTest-txt test-lookup test-register if TEST_GLIBC ctests += test-glibc endif check_PROGRAMS = $(ctests) dist_check_SCRIPTS = test-idn2.sh TESTS = $(ctests) $(dist_check_SCRIPTS) TEST_EXTENSIONS = .sh LOG_COMPILER = $(LOG_VALGRIND) SH_LOG_COMPILER= $(SHELL) -x AM_TESTS_ENVIRONMENT = EXEEXT="$(EXEEXT)" LOG_VALGRIND="$(LOG_VALGRIND)" LIBTOOL="$(LIBTOOL)" IDNA_TXT = IdnaTest.txt IDNA_INC = IdnaTest.inc BUILT_SOURCES = $(IDNA_TXT) $(IDNA_INC) MAINTAINERCLEANFILES = $(BUILT_SOURCES) EXTRA_DIST += gen-utc-test.pl $(IDNA_TXT) $(IDNA_INC) $(IDNA_TXT): rm -f $(IDNA_TXT) wget https://www.unicode.org/Public/idna/10.0.0/IdnaTest.txt echo "35f344b624f9978ee5c484ab0182038e92a9f41c IdnaTest.txt" | sha1sum -c - $(IDNA_INC): $(IDNA_TXT) $(srcdir)/gen-utc-test.pl $(srcdir)/gen-utc-test.pl < $< > $@