Commit 955a9fee authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed failing tests on ARM

parent bdc65934
all: all:
tar xf gettext-0.21.tar.xz tar xf gettext-0.21.tar.xz
patch -Np1 -d gettext-0.21 < gettext-0.21-gnulib-perror-tests.patch
cd gettext-0.21 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.21 cd gettext-0.21 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.21
$(MAKE) -C gettext-0.21 $(MAKE) -C gettext-0.21
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
......
diff -uNr gettext-0.21/gettext-tools/gnulib-tests/test-perror2.c gettext-0.21-gnulib-perror-tests/gettext-tools/gnulib-tests/test-perror2.c
--- gettext-0.21/gettext-tools/gnulib-tests/test-perror2.c 2020-04-11 19:29:46.000000000 +0930
+++ gettext-0.21-gnulib-perror-tests/gettext-tools/gnulib-tests/test-perror2.c 2023-08-09 20:01:07.578846465 +0930
@@ -79,9 +79,6 @@
errno = -5;
perror ("");
ASSERT (!ferror (stderr));
- ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1));
- ASSERT (msg2 == msg4 || STREQ (msg2, str2));
- ASSERT (msg3 == msg4 || STREQ (msg3, str3));
ASSERT (STREQ (msg4, str4));
free (str1);
diff -uNr gettext-0.21/gettext-tools/gnulib-tests/test-strerror_r.c gettext-0.21-gnulib-perror-tests/gettext-tools/gnulib-tests/test-strerror_r.c
--- gettext-0.21/gettext-tools/gnulib-tests/test-strerror_r.c 2020-04-11 19:29:47.000000000 +0930
+++ gettext-0.21-gnulib-perror-tests/gettext-tools/gnulib-tests/test-strerror_r.c 2023-08-09 20:01:36.738942362 +0930
@@ -165,9 +165,6 @@
strerror_r (EACCES, buf, sizeof buf);
strerror_r (-5, buf, sizeof buf);
- ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1));
- ASSERT (msg2 == msg4 || STREQ (msg2, str2));
- ASSERT (msg3 == msg4 || STREQ (msg3, str3));
ASSERT (STREQ (msg4, str4));
free (str1);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment