I just tried to install MIDI::ALSA on a freshly installed Ubuntu 15.10
PC (yes I know Ubuntu support for 15.10 stopped recently but that's not relevant for this issue), but it fails during the testing phase on Test 35:
ok 29 - skipping note_on event output
ok 30 - skipping note_off event output
ok 31 - skipping disconnectfrom()
ok 32 - skipping SND_SEQ_EVENT_PORT_UNSUBSCRIBED event
ok 33 - skipping disconnectto()
ok 34 - connectto(2,'testpl pid=4697:1') connected to myself by name
not ok 35 - received an event from myself
# Failed test 'received an event from myself'
# at test.pl line 301.
# alsaevent=$VAR1 = [11,1,0,1,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
# correct =$VAR1 = [11,1,0,0,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
ok 36 - latency was 9 microsec
ok 37 - disconnectfrom(1,128,2)
ok 38 - status() reports running
ok 39 - status() reports time = 2.805671 not 2.80858683586121
ok 40 - status() reports time = 3.808081 not 3.81115889549255
ok 41 - stop() returns success
[...]
# Looks like you failed 1 test of 57.
Makefile:1010: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
PJB/MIDI-ALSA-1.20.tar.gz
/usr/bin/make test -- NOT OK
What could be the cause of this error?
Many thanks in advance for any help.
Andy wrote:
I just tried to install MIDI::ALSA on a freshly installed Ubuntu
15.10 ... but it fails during the testing phase on Test 35:
ok 34 - connectto(2,'testpl pid=4697:1') connected to myself by name
not ok 35 - received an event from myself
# Failed test 'received an event from myself'
# at test.pl line 301.
# alsaevent=$VAR1 = [11,1,0,1,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
# correct =$VAR1 = [11,1,0,0,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
ok 36 - latency was 9 microsec
[...]
# Looks like you failed 1 test of 57.
What could be the cause of this error?
I just noticed the same test 35 fails on my old Mandriva box too,
so it seems a general problem, not related to a specific distro.
On 2016-10-23, Andy <invalid@nowhere.nowhere> wrote:
Andy wrote:
I just tried to install MIDI::ALSA on a freshly installed Ubuntu
15.10 ... but it fails during the testing phase on Test 35:
ok 34 - connectto(2,'testpl pid=4697:1') connected to myself by name
not ok 35 - received an event from myself
# Failed test 'received an event from myself'
# at test.pl line 301.
# alsaevent=$VAR1 = [11,1,0,1,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
# correct =$VAR1 = [11,1,0,0,'2.8',[128,2],[128,1],[0,0,0,0,0,99]];
ok 36 - latency was 9 microsec
[...]
# Looks like you failed 1 test of 57.
What could be the cause of this error?
I just noticed the same test 35 fails on my old Mandriva box too,
so it seems a general problem, not related to a specific distro.
OK, that's my module... I just got back from hospital,
and am running on half-power at the moment :-( Anyway:
I can assure you that the reported error ( 11,1,0,1 <==> 11,1,0,0 )
is meaningless. It's a bug in test.pl.
Which MIDI-ALSA version were you using ?
AFAICS in MIDI-ALSA-1.20 the bug is fixed, and that should test OK...
Peter Billam wrote:
I can assure you that the reported error ( 11,1,0,1 <==> 11,1,0,0 )Yep, that's what I thought, but it looks bad when trying to get
is meaningless. It's a bug in test.pl.
other people to install MIDI-ALSA.
Which MIDI-ALSA version were you using ?It's in 1.20 downloaded from CPAN, maybe you fixed it in your code
AFAICS in MIDI-ALSA-1.20 the bug is fixed, and that should test OK...
at home, but never got round to update it on CPAN?
By the way, I got MIDI-ALSA into Debian, although they are deciding
how to handle the kernel module requirements of 'make test'
(virtmidi), so it hasn't become a package yet. See here: https://anonscm.debian.org/git/pkg-perl/packages/libmidi-alsa-perl.git
The problem is that sometimes alsa assigns queue ids starting
from 0 and sometimes from 1 ; I don't know the background. On my
debian jessie, test.pl runs fine, which makes it hard to test.
Which MIDI-ALSA version were you using ?It's in 1.20 downloaded from CPAN, maybe you fixed it in your code
AFAICS in MIDI-ALSA-1.20 the bug is fixed, and that should test OK...
at home, but never got round to update it on CPAN?
Try MIDI-ALSA-1.21 then ...
By the way, I got MIDI-ALSA into Debian, although they are deciding
how to handle the kernel module requirements of 'make test'
(virtmidi), so it hasn't become a package yet. See here:
https://anonscm.debian.org/git/pkg-perl/packages/libmidi-alsa-perl.git
Thanks for your work !
Wouldn't it be possible to ignore the queue id in the test and
only compare all other parameters?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 189:48:48 |
Calls: | 6,616 |
Files: | 12,165 |
Messages: | 5,315,077 |