* bug#21181: Possible bug in test-group
@ 2015-08-03 3:27 Rob Browning
2015-08-03 3:34 ` Rob Browning
0 siblings, 1 reply; 6+ messages in thread
From: Rob Browning @ 2015-08-03 3:27 UTC (permalink / raw)
To: 21181
With 2.0.11(-deb+1-9):
scheme@(guile-user)> (use-modules (srfi srfi-64))
scheme@(guile-user)> (test-group "foo" 13)
<unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
<unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
Changing the syntax-case to use "body ..." instead of ". body" appears
to fix the problem.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#21181: Possible bug in test-group
2015-08-03 3:27 bug#21181: Possible bug in test-group Rob Browning
@ 2015-08-03 3:34 ` Rob Browning
2015-08-03 3:43 ` Rob Browning
0 siblings, 1 reply; 6+ messages in thread
From: Rob Browning @ 2015-08-03 3:34 UTC (permalink / raw)
To: 21181
Rob Browning <rlb@defaultvalue.org> writes:
> With 2.0.11(-deb+1-9):
>
> scheme@(guile-user)> (use-modules (srfi srfi-64))
> scheme@(guile-user)> (test-group "foo" 13)
> <unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
> <unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
>
> Changing the syntax-case to use "body ..." instead of ". body" appears
> to fix the problem.
Hmm, this may be a local issue. Feel free to ignore it for now.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#21181: Possible bug in test-group
2015-08-03 3:34 ` Rob Browning
@ 2015-08-03 3:43 ` Rob Browning
2015-08-03 4:29 ` Rob Browning
0 siblings, 1 reply; 6+ messages in thread
From: Rob Browning @ 2015-08-03 3:43 UTC (permalink / raw)
To: 21181
Rob Browning <rlb@defaultvalue.org> writes:
> Rob Browning <rlb@defaultvalue.org> writes:
>
>> With 2.0.11(-deb+1-9):
>>
>> scheme@(guile-user)> (use-modules (srfi srfi-64))
>> scheme@(guile-user)> (test-group "foo" 13)
>> <unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
>> <unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
>>
>> Changing the syntax-case to use "body ..." instead of ". body" appears
>> to fix the problem.
>
> Hmm, this may be a local issue. Feel free to ignore it for now.
To follow up, it does look like it might be broken, but you can ignore
my suggested fix.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#21181: Possible bug in test-group
2015-08-03 3:43 ` Rob Browning
@ 2015-08-03 4:29 ` Rob Browning
2016-06-24 8:28 ` Andy Wingo
0 siblings, 1 reply; 6+ messages in thread
From: Rob Browning @ 2015-08-03 4:29 UTC (permalink / raw)
To: 21181
Rob Browning <rlb@defaultvalue.org> writes:
> To follow up, it does look like it might be broken, but you can ignore
> my suggested fix.
I'm not that familiar with srfi-64, but it looks like the problem (if
it's not expected) is that test-group doesn't handle the case where it's
creating the first group, i.e. no prior test-begin.
In that situation it appears that test-runner-current returns #f,
causing test-result-alist! to fail.
Hope this helps
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#21181: Possible bug in test-group
2015-08-03 4:29 ` Rob Browning
@ 2016-06-24 8:28 ` Andy Wingo
2025-01-12 19:55 ` bug#21181: SRFI-64: " Rob Browning
0 siblings, 1 reply; 6+ messages in thread
From: Andy Wingo @ 2016-06-24 8:28 UTC (permalink / raw)
To: mhw; +Cc: 21181, Rob Browning
Mark, do you have any thoughts on this one?
A
On Mon 03 Aug 2015 06:29, Rob Browning <rlb@defaultvalue.org> writes:
> Rob Browning <rlb@defaultvalue.org> writes:
>
>> To follow up, it does look like it might be broken, but you can ignore
>> my suggested fix.
>
> I'm not that familiar with srfi-64, but it looks like the problem (if
> it's not expected) is that test-group doesn't handle the case where it's
> creating the first group, i.e. no prior test-begin.
>
> In that situation it appears that test-runner-current returns #f,
> causing test-result-alist! to fail.
>
> Hope this helps
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#21181: SRFI-64: Possible bug in test-group
2016-06-24 8:28 ` Andy Wingo
@ 2025-01-12 19:55 ` Rob Browning
0 siblings, 0 replies; 6+ messages in thread
From: Rob Browning @ 2025-01-12 19:55 UTC (permalink / raw)
To: Andy Wingo; +Cc: 21181-done
Andy Wingo <wingo@pobox.com> writes:
> On Mon 03 Aug 2015 06:29, Rob Browning <rlb@defaultvalue.org> writes:
>> I'm not that familiar with srfi-64, but it looks like the problem (if
>> it's not expected) is that test-group doesn't handle the case where it's
>> creating the first group, i.e. no prior test-begin.
> Mark, do you have any thoughts on this one?
This appears to be fixed in at least main, presumably by the recent
srfi-64 work.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-01-12 19:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 3:27 bug#21181: Possible bug in test-group Rob Browning
2015-08-03 3:34 ` Rob Browning
2015-08-03 3:43 ` Rob Browning
2015-08-03 4:29 ` Rob Browning
2016-06-24 8:28 ` Andy Wingo
2025-01-12 19:55 ` bug#21181: SRFI-64: " Rob Browning
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).