[csw-devel] SF.net SVN: gar:[12510] csw/mgar/pkg/libsamplerate/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Jan 12 14:21:21 CET 2011


Revision: 12510
          http://gar.svn.sourceforge.net/gar/?rev=12510&view=rev
Author:   dmichelsen
Date:     2011-01-12 13:21:20 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
libsamplerate: Adjust testsuite

Modified Paths:
--------------
    csw/mgar/pkg/libsamplerate/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/libsamplerate/trunk/files/0002-Raise-failure-levels-slightly-for-Solaris-Sparc-and-.patch

Modified: csw/mgar/pkg/libsamplerate/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libsamplerate/trunk/Makefile	2011-01-12 09:19:20 UTC (rev 12509)
+++ csw/mgar/pkg/libsamplerate/trunk/Makefile	2011-01-12 13:21:20 UTC (rev 12510)
@@ -18,7 +18,10 @@
 MASTER_SITES = http://www.mega-nerd.com/SRC/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
 
+# Both changes have been reported upstream to Erik de Castro Lopo and
+# he gave his placet that they are correct. They affect the testsuite only.
 PATCHFILES += 0001-Fix-testcase.patch
+PATCHFILES += 0002-Raise-failure-levels-slightly-for-Solaris-Sparc-and-.patch
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
@@ -46,7 +49,4 @@
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --disable-static
 
-# Some broken tests, skip for now
-SKIPTEST ?= 1
-
 include gar/category.mk

Added: csw/mgar/pkg/libsamplerate/trunk/files/0002-Raise-failure-levels-slightly-for-Solaris-Sparc-and-.patch
===================================================================
--- csw/mgar/pkg/libsamplerate/trunk/files/0002-Raise-failure-levels-slightly-for-Solaris-Sparc-and-.patch	                        (rev 0)
+++ csw/mgar/pkg/libsamplerate/trunk/files/0002-Raise-failure-levels-slightly-for-Solaris-Sparc-and-.patch	2011-01-12 13:21:20 UTC (rev 12510)
@@ -0,0 +1,48 @@
+From 7e1954751788fb89a987f7e79149a03ab807a8ae Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 12 Jan 2011 13:48:19 +0100
+Subject: [PATCH] Raise failure levels slightly for Solaris Sparc and Solaris amd64
+
+---
+ tests/snr_bw_test.c |   12 ++++++------
+ 1 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/tests/snr_bw_test.c b/tests/snr_bw_test.c
+index 62131c2..5fa5a50 100644
+--- a/tests/snr_bw_test.c
++++ b/tests/snr_bw_test.c
+@@ -117,10 +117,10 @@ main (int argc, char *argv [])
+ 			9,
+ 			BOOLEAN_TRUE,
+ 			{	{	1,	{ 0.01111111111 },		3.0,		1,	145.0,	1.0 },
+-				{	1,	{ 0.01111111111 },		0.6,		1,	132.0,	1.0 },
++				{	1,	{ 0.01111111111 },		0.6,		1,	131.0,	1.0 },
+ 				{	1,	{ 0.01111111111 },		0.3,		1,	138.0,	1.0 },
+ 				{	1,	{ 0.01111111111 },		1.0,		1,	157.0,	1.0 },
+-				{	1,	{ 0.01111111111 },		1.001,		1,	148.0,	1.0 },
++				{	1,	{ 0.01111111111 },		1.001,		1,	147.0,	1.0 },
+ 				{	2,	{ 0.011111, 0.324 },	1.9999,		2,	127.0,	1.0 },
+ 				{	2,	{ 0.012345, 0.457 },	0.456789,	1,	124.0,	0.5 },
+ 				{	2,	{ 0.011111, 0.45 },		0.6,		1,	126.0,	0.5 },
+@@ -131,14 +131,14 @@ main (int argc, char *argv [])
+ 		{	SRC_SINC_BEST_QUALITY,
+ 			9,
+ 			BOOLEAN_TRUE,
+-			{	{	1,	{ 0.01111111111 },		3.0,		1,	149.0,	1.0 },
++			{	{	1,	{ 0.01111111111 },		3.0,		1,	146.0,	1.0 },
+ 				{	1,	{ 0.01111111111 },		0.6,		1,	147.0,	1.0 },
+-				{	1,	{ 0.01111111111 },		0.3,		1,	148.0,	1.0 },
++				{	1,	{ 0.01111111111 },		0.3,		1,	147.0,	1.0 },
+ 				{	1,	{ 0.01111111111 },		1.0,		1,	155.0,	1.0 },
+ 				{	1,	{ 0.01111111111 },		1.001,		1,	148.0,	1.0 },
+ 				{	2,	{ 0.011111, 0.324 },	1.9999,		2,	147.0,	1.0 },
+-				{	2,	{ 0.012345, 0.457 },	0.456789,	1,	148.0,	0.5 },
+-				{	2,	{ 0.011111, 0.45 },		0.6,		1,	149.0,	0.5 },
++				{	2,	{ 0.012345, 0.457 },	0.456789,	1,	146.0,	0.5 },
++				{	2,	{ 0.011111, 0.45 },		0.6,		1,	148.0,	0.5 },
+ 				{	1,	{ 0.43111111111 },		1.33,		1,	145.0,	1.0 }
+ 				}
+ 			},
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list