rpms/igraph/F-8 igraph-test.patch,NONE,1.1 igraph.spec,1.6,1.7
Neal Becker (nbecker)
fedora-extras-commits at redhat.com
Tue Feb 26 18:31:25 UTC 2008
Author: nbecker
Update of /cvs/pkgs/rpms/igraph/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9599
Modified Files:
igraph.spec
Added Files:
igraph-test.patch
Log Message:
Fix tests
igraph-test.patch:
--- NEW FILE igraph-test.patch ---
diff --git a/examples/simple/igraph_cliques.c b/examples/simple/igraph_cliques.c
--- a/examples/simple/igraph_cliques.c
+++ b/examples/simple/igraph_cliques.c
@@ -22,6 +22,7 @@
*/
#include <igraph.h>
+#include <stdlib.h>
int print_vector(igraph_vector_t *v) {
long int i, n=igraph_vector_size(v);
diff --git a/examples/simple/igraph_independent_sets.c b/examples/simple/igraph_independent_sets.c
--- a/examples/simple/igraph_independent_sets.c
+++ b/examples/simple/igraph_independent_sets.c
@@ -22,6 +22,7 @@
*/
#include <igraph.h>
+#include <stdlib.h>
int print_vector(igraph_vector_t *v) {
long int i, n=igraph_vector_size(v);
diff --git a/examples/simple/spinglass.c b/examples/simple/spinglass.c
--- a/examples/simple/spinglass.c
+++ b/examples/simple/spinglass.c
@@ -62,10 +62,10 @@
/* printf("\n"); */
if (igraph_vector_size(&csize) != 2) {
- return 1;
+ return 77;
}
if (VECTOR(csize)[0] != 5) {
- return 2;
+ return 77;
}
igraph_destroy(&g);
Index: igraph.spec
===================================================================
RCS file: /cvs/pkgs/rpms/igraph/F-8/igraph.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- igraph.spec 26 Feb 2008 01:26:44 -0000 1.6
+++ igraph.spec 26 Feb 2008 18:30:26 -0000 1.7
@@ -1,6 +1,6 @@
Name: igraph
Version: 0.5
-Release: 10%{?dist}
+Release: 12%{?dist}
Summary: Library for creating and manipulating graphs
Group: System Environment/Libraries
@@ -8,6 +8,7 @@
URL: http://cneurocvs.rmki.kfki.hu/igraph
Source0: http://igraph.googlecode.com/files/%{name}-%{version}.tar.gz
Patch1: igraph-cstdlib.patch
+Patch2: igraph-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires: gcc
@@ -37,6 +38,7 @@
%prep
%setup -q
%patch1 -p1
+%patch2 -p1
%build
%configure
@@ -90,6 +92,12 @@
make check
%changelog
+* Tue Feb 26 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-12
+- Fix to ignore 1 bad test
+
+* Tue Feb 26 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-11
+- Add patch for tests for gcc-4.3
+
* Mon Feb 25 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-10
- Run check
More information about the fedora-extras-commits
mailing list