unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Problem compiling tests for guile 1.7.1
@ 2004-12-08 22:15 Pierre
  2004-12-09 20:43 ` Kevin Ryde
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre @ 2004-12-08 22:15 UTC (permalink / raw)


[...]
Making check in test-suite
make[1]: Entering directory `/tmp/guile-1.7.1/test-suite'
Making check in standalone
make[2]: Entering directory `/tmp/guile-1.7.1/test-suite/standalone'
make  check-am
make[3]: Entering directory `/tmp/guile-1.7.1/test-suite/standalone'
cd . && chmod u+x test-system-cmds test-asmobs
make  test-num2integral test-round test-gh test-unwind test-conversion 
test-system-cmds test-asmobs
make[4]: Entering directory `/tmp/guile-1.7.1/test-suite/standalone'
make[4]: `test-num2integral' is up to date.
make[4]: `test-round' is up to date.
make[4]: `test-gh' is up to date.
make[4]: `test-unwind' is up to date.
make[4]: `test-conversion' is up to date.
make[4]: Nothing to be done for `test-system-cmds'.
make[4]: Nothing to be done for `test-asmobs'.
make[4]: Leaving directory `/tmp/guile-1.7.1/test-suite/standalone'
make  check-TESTS
make[4]: Entering directory `/tmp/guile-1.7.1/test-suite/standalone'
PASS: test-system-cmds
PASS: test-num2integral
PASS: test-round
PASS: test-gh
PASS: test-asmobs
PASS: test-unwind
fail: scm_from_double (nan) == +nan.0
FAIL: test-conversion
===================
1 of 7 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/tmp/guile-1.7.1/test-suite/standalone'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/guile-1.7.1/test-suite/standalone'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/tmp/guile-1.7.1/test-suite/standalone'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/guile-1.7.1/test-suite'
make: *** [check-recursive] Error 1


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem compiling tests for guile 1.7.1
  2004-12-08 22:15 Problem compiling tests for guile 1.7.1 Pierre
@ 2004-12-09 20:43 ` Kevin Ryde
  2004-12-15 17:44   ` Marius Vollmer
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2004-12-09 20:43 UTC (permalink / raw)
  Cc: bug-guile

Pierre <pierre42d@9online.fr> writes:
>
> fail: scm_from_double (nan) == +nan.0
> FAIL: test-conversion

See if you can trace through with gdb to see where it fails, ie. if
one of the operands is not a nan, or if the comparison has gone wrong.

A build with CFLAGS=-g will make source lines work properly, but might
also make the problem go away.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem compiling tests for guile 1.7.1
  2004-12-09 20:43 ` Kevin Ryde
@ 2004-12-15 17:44   ` Marius Vollmer
  0 siblings, 0 replies; 3+ messages in thread
From: Marius Vollmer @ 2004-12-15 17:44 UTC (permalink / raw)
  Cc: bug-guile

Kevin Ryde <user42@zip.com.au> writes:

> Pierre <pierre42d@9online.fr> writes:
>>
>> fail: scm_from_double (nan) == +nan.0
>> FAIL: test-conversion
>
> See if you can trace through with gdb to see where it fails, ie. if
> one of the operands is not a nan, or if the comparison has gone wrong.

Guile and the test-cases are currently pretty much assume that there
is only one kind of NaN, while in fact there might be many different
NaNs.

We should add proper handling of the payload information in NaNs; or
we should properly ignore it in comparisons.

I think the latter is easier and I'll try to clean Guile up in this
direction.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-15 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 22:15 Problem compiling tests for guile 1.7.1 Pierre
2004-12-09 20:43 ` Kevin Ryde
2004-12-15 17:44   ` Marius Vollmer

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).