public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Aleksej Saushev <asau@hotbox.ru>
To: Brian Gough <bjg@network-theory.co.uk>
Cc: gsl-discuss@sourceware.org
Subject: Re: test release gsl-1.9.90.tar.gz
Date: Wed, 12 Sep 2007 08:21:00 -0000	[thread overview]
Message-ID: <87bqc9rmzg.fsf@hotbox.ru> (raw)
In-Reply-To: <m3tzq1h885.wl%bjg@network-theory.co.uk> (Brian Gough's message of "Tue\, 11 Sep 2007 10\:17\:14 +0100")

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

Brian Gough <bjg@network-theory.co.uk> writes:

> I have made a test release for gsl-1.10. 

gcc -DHAVE_CONFIG_H -I. -I.. -I..     -g -O2 -c test.c
/bin/ksh ../libtool --tag=CC    --mode=link gcc  -g -O2    -o test test.o libgslsys.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la libgslsys.la ../utils/libutils.la -lm
gcc -g -O2 -o test test.o  ../ieee-utils/.libs/libgslieeeutils.a ../err/.libs/libgslerr.a ../test/.libs/libgsltest.a ./.libs/libgslsys.a ../utils/.libs/libutils.a -lm
make  check-TESTS
FAIL: gsl_isinf(-inf) (1 observed vs -1 expected) [112]
FAIL: test
===================
1 of 1 tests failed
===================

Fix attached.

NetBSD 4.99.31 i386
cc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620)

With fix all tests pass.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Fix wrong isinf ret. value assumption in tests --]
[-- Type: text/x-patch, Size: 377 bytes --]

--- sys/test.c.orig	2007-06-11 12:57:34.000000000 +0400
+++ sys/test.c	2007-06-11 12:57:52.000000000 +0400
@@ -383,7 +383,7 @@
        negative).  (This is all that C99 requires.) */
 
     s = gsl_isinf (-inf);  
-    gsl_test_int (s, -1, "gsl_isinf(-inf)");
+    gsl_test_int (s, 1, "gsl_isinf(-inf)");
 
     s = gsl_isinf (nan);
     gsl_test_int (s, 0, "gsl_isinf(nan)");

  parent reply	other threads:[~2007-09-12  8:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11  9:19 Brian Gough
2007-09-11 18:39 ` Patrick Alken
2007-09-12 17:04   ` Brian Gough
2007-09-13 13:45   ` Brian Gough
2007-09-13 16:30     ` Patrick Alken
2007-09-13 19:34       ` Brian Gough
2007-09-12  8:21 ` Aleksej Saushev [this message]
2007-09-12  8:48   ` Brian Gough
2007-09-12 20:12     ` Jari Häkkinen
2007-09-12 21:02   ` Tommy Nordgren
2007-09-12 21:03     ` Tommy Nordgren
2007-09-13  8:12     ` Aleksej Saushev
2007-09-13  9:42       ` Tommy Nordgren
2007-09-12 21:16 ` Oliver Jennrich
2007-09-13 12:42   ` Brian Gough

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bqc9rmzg.fsf@hotbox.ru \
    --to=asau@hotbox.ru \
    --cc=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).