[Gmp-commit] /var/hg/gmp-6.2: Provide test for add_ssaaaa and sub_ddmmss.
mercurial at gmplib.org
mercurial at gmplib.org
Thu Jun 18 15:15:26 UTC 2020
details: /var/hg/gmp-6.2/rev/dc336881f34b
changeset: 18060:dc336881f34b
user: Torbjorn Granlund <tg at gmplib.org>
date: Thu Jun 18 17:13:44 2020 +0200
description:
Provide test for add_ssaaaa and sub_ddmmss.
diffstat:
.bootstrap | 7 +++++++
ChangeLog | 4 ++++
tests/devel/Makefile.am | 25 +++++++++++++++++++++----
3 files changed, 32 insertions(+), 4 deletions(-)
diffs (67 lines):
diff -r 2a35793b5835 -r dc336881f34b .bootstrap
--- a/.bootstrap Wed Jun 10 15:57:01 2020 +0200
+++ b/.bootstrap Thu Jun 18 17:13:44 2020 +0200
@@ -7,6 +7,13 @@
autoreconf -i -s
# aclocal && libtoolize && autoconf && autoheader && automake -a
+cp -L ltmain.sh foo; rm ltmain.sh; mv foo ltmain.sh
+cp -L ylwrap foo; rm ylwrap; mv foo ylwrap
+cp -L install-sh foo; rm install-sh; mv foo install-sh
+cp -L missing foo; rm missing; mv foo missing
+cp -L test-driver foo;rm test-driver;mv foo test-driver
+rm -rf autom4te.cache
+
cat >doc/version.texi <<EOF
@set UPDATED 19 January 2038
@set UPDATED-MONTH January 2038
diff -r 2a35793b5835 -r dc336881f34b ChangeLog
--- a/ChangeLog Wed Jun 10 15:57:01 2020 +0200
+++ b/ChangeLog Thu Jun 18 17:13:44 2020 +0200
@@ -1,3 +1,7 @@
+2020-06-10 Torbjörn Granlund <tg at gmplib.org>
+
+ * configure.ac: Recognise armcortexa53.
+
2020-05-25 Torbjörn Granlund <tg at gmplib.org>
* tests/cxx/t-assign.cc: Use reference parameter for 'catch'.
diff -r 2a35793b5835 -r dc336881f34b tests/devel/Makefile.am
--- a/tests/devel/Makefile.am Wed Jun 10 15:57:01 2020 +0200
+++ b/tests/devel/Makefile.am Thu Jun 18 17:13:44 2020 +0200
@@ -22,14 +22,31 @@
AM_LDFLAGS = -no-install
LDADD = $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
-# add_n_sub_n add_n_sub_n_2 not yet built since mpn_add_n_sub_n doesn't yet exist
-#
EXTRA_PROGRAMS = \
- aors_n anymul_1 copy divmod_1 divrem shift logops_n sqrtrem_1_2 primes tst-addsub try addmul_N mul_N cnd_aors_n
+ sqrtrem_1_2 primes try
-allprogs: $(EXTRA_PROGRAMS)
+BUILT_SOURCES =
+DISTCLEANFILES = $(BUILT_SOURCES)
+EXTRA_DIST =
+
+nodist_SOURCES = test-add_ssaaaa.c test-sub_ddmmss.c
+
+allprogs: $(EXTRA_PROGRAMS) test-add_ssaaaa test-sub_ddmmss
CLEANFILES = $(EXTRA_PROGRAMS)
$(top_builddir)/tests/libtests.la:
cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
+
+test-add_ssaaaa.c: gen-test-longlong_h$(EXEEXT_FOR_BUILD)
+ ./gen-test-longlong_h add >test-add_ssaaaa.c || (rm -f test-add_ssaaaa.c; exit 1)
+#BUILT_SOURCES += test-add_ssaaaa.c
+
+test-sub_ddmmss.c: gen-test-longlong_h$(EXEEXT_FOR_BUILD)
+ ./gen-test-longlong_h sub >test-sub_ddmmss.c || (rm -f test-sub_ddmmss.c; exit 1)
+#BUILT_SOURCES += test-sub_ddmmss.c
+
+gen-test-longlong_h$(EXEEXT_FOR_BUILD): gen-test-longlong_h.c
+ $(CC_FOR_BUILD) `test -f 'gen-test-longlong_h.c' || echo '$(srcdir)/'`gen-test-longlong_h.c -o gen-test-longlong_h$(EXEEXT_FOR_BUILD)
+DISTCLEANFILES += gen-test-longlong_h$(EXEEXT_FOR_BUILD)
+EXTRA_DIST += gen-test-longlong_h.c
More information about the gmp-commit
mailing list