Project:Perl/maint-notes/dev-perl/Audio-DSP

From Gentoo Wiki
Jump to:navigation Jump to:search

Tests

This package needs access to /dev/dsp in order to run tests.

This means you need:

  • a Kernel with OSS compat Support
  • snd-pcm-oss loaded
  • Permissions to write to /dev/dsp (eg: chmod a+rw /dev/dsp or ensure portage is in the audio group)
  • FEATURES="-usersandbox"
  • AUDIO_DSP_HW_TEST=1

However, test suite is still known to fail with all the above considered, and its not known to me if this is a limitation of OSS co-existing with other sound technology or not.

Results other than the following are wanted as feedback:

CODE
>>> Test phase: dev-perl/Audio-DSP-0.20.0-r2
 * Compile testing Audio::DSP 0.02 ...                                                                                           [ ok ]
 * Test::Harness Jobs=3
make -j3 --load-average=4 test TEST_VERBOSE=0 
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DSP.bs blib/arch/auto/Audio/DSP/DSP.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..5
Loading Audio::DSP... ok 1
Initializing audio device... not ok 2 (failed to open device '/dev/dsp')
make: *** [Makefile:992: test_dynamic] Error 16