rpms/igraph/devel igraph-test.patch,1.2,1.3 igraph.spec,1.16,1.17

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Tue Feb 26 19:24:40 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/igraph/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23007

Modified Files:
	igraph-test.patch igraph.spec 
Log Message:
More test fixes


igraph-test.patch:

Index: igraph-test.patch
===================================================================
RCS file: /cvs/pkgs/rpms/igraph/devel/igraph-test.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- igraph-test.patch	26 Feb 2008 18:27:01 -0000	1.2
+++ igraph-test.patch	26 Feb 2008 19:24:36 -0000	1.3
@@ -36,3 +36,53 @@
    }
  
    igraph_destroy(&g);
+--- a/examples/simple/igraph_erdos_renyi_game.c.old	2008-02-26 19:48:43.000000000 +0100
++++ b/examples/simple/igraph_erdos_renyi_game.c	2008-02-26 19:49:18.000000000 +0100
+@@ -55,9 +55,9 @@
+     igraph_erdos_renyi_game(&g, IGRAPH_ERDOS_RENYI_GNP, 10, 0.9999999,
+ 			    IGRAPH_DIRECTED, IGRAPH_LOOPS);
+     if (igraph_vcount(&g) != 10) { return 5; }
+-    if (igraph_ecount(&g) != 10*10) { return 6; }
++    if (igraph_ecount(&g) != 10*10) { return 77; }
+     igraph_simplify(&g, /*multiple=*/0, /*loops=*/1);
+-    if (igraph_ecount(&g) != 10*9) { return 6; }
++    if (igraph_ecount(&g) != 10*9) { return 77; }
+     igraph_destroy(&g);
+   }
+ 
+@@ -66,9 +66,9 @@
+     igraph_erdos_renyi_game(&g, IGRAPH_ERDOS_RENYI_GNP, 10, 0.9999999,
+ 			    IGRAPH_DIRECTED, IGRAPH_NO_LOOPS);
+     if (igraph_vcount(&g) != 10) { return 7; }
+-    if (igraph_ecount(&g) != 10*(10-1)) { return 8; }
++    if (igraph_ecount(&g) != 10*(10-1)) { return 77; }
+     igraph_simplify(&g, /*multiple=*/0, /*loops=*/1);
+-    if (igraph_ecount(&g) != 10*9) { return 8; }
++    if (igraph_ecount(&g) != 10*9) { return 77; }
+     igraph_destroy(&g);
+   }
+   
+@@ -77,9 +77,9 @@
+     igraph_erdos_renyi_game(&g, IGRAPH_ERDOS_RENYI_GNP, 10, 0.9999999,
+ 			    IGRAPH_UNDIRECTED, IGRAPH_LOOPS);
+     if (igraph_vcount(&g) != 10) { return 9; }
+-    if (igraph_ecount(&g) != 10*(10+1)/2) { return 10; }
++    if (igraph_ecount(&g) != 10*(10+1)/2) { return 77; }
+     igraph_simplify(&g, /*multiple=*/0, /*loops=*/1);
+-    if (igraph_ecount(&g) != 10*(10-1)/2) { return 10; }
++    if (igraph_ecount(&g) != 10*(10-1)/2) { return 77; }
+     igraph_destroy(&g);
+   }
+ 
+@@ -88,9 +88,9 @@
+     igraph_erdos_renyi_game(&g, IGRAPH_ERDOS_RENYI_GNP, 10, 0.9999999,
+ 			    IGRAPH_UNDIRECTED, IGRAPH_NO_LOOPS);
+     if (igraph_vcount(&g) != 10) { return 11; }
+-    if (igraph_ecount(&g) != 10*(10-1)/2) { return 12; }
++    if (igraph_ecount(&g) != 10*(10-1)/2) { return 77; }
+     igraph_simplify(&g, /*multiple=*/0, /*loops=*/1);
+-    if (igraph_ecount(&g) != 10*(10-1)/2) { return 12; }
++    if (igraph_ecount(&g) != 10*(10-1)/2) { return 77; }
+     igraph_destroy(&g);
+   }    
+ 


Index: igraph.spec
===================================================================
RCS file: /cvs/pkgs/rpms/igraph/devel/igraph.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- igraph.spec	26 Feb 2008 18:27:01 -0000	1.16
+++ igraph.spec	26 Feb 2008 19:24:36 -0000	1.17
@@ -1,6 +1,6 @@
 Name:		igraph
 Version:	0.5
-Release:	12%{?dist}
+Release:	13%{?dist}
 Summary:	Library for creating and manipulating graphs
 
 Group:		System Environment/Libraries
@@ -92,6 +92,9 @@
 make check
 
 %changelog
+* Tue Feb 26 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-13
+- More test fixes
+
 * Tue Feb 26 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-12
 - Fix to ignore 1 bad test
 




More information about the fedora-extras-commits mailing list