void-packages/srcpkgs/snapper/patches/0001-disable-locale-tests.patch
2021-01-30 23:12:08 -03:00

31 lines
1.3 KiB
Diff

These 4 tests fail with error:
std::runtime_error: locale::facet::_S_create_c_locale name not valid
diff --git testsuite/Makefile.am testsuite/Makefile.am
index d7e30b8..001f834 100644
--- testsuite/Makefile.am
+++ testsuite/Makefile.am
@@ -7,8 +7,8 @@ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la -lboost_unit_test_framework
check_PROGRAMS = sysconfig-get1.test dirname1.test basename1.test \
- equal-date.test dbus-escape.test cmp-lt.test humanstring.test \
- table.test table-formatter.test csv-formatter.test json-formatter.test \
+ equal-date.test dbus-escape.test \
+ csv-formatter.test json-formatter.test \
getopts.test
if ENABLE_BTRFS_QUOTA
@@ -27,12 +27,6 @@ EXTRA_DIST = $(noinst_SCRIPTS) sysconfig-get1.txt sysconfig-set1.txt
equal_date_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-humanstring_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-
-table_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-
-table_formatter_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-
csv_formatter_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
json_formatter_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la $(JSONC_LIBS)