[Aptitude-devel] r2964 - in branches/aptitude-0.3/aptitude: . src/generic/problemresolver

Daniel Burrows dburrows@costa.debian.org
Sat, 09 Apr 2005 15:07:16 +0000


Author: dburrows
Date: Sat Apr  9 15:07:13 2005
New Revision: 2964

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc
Log:
Call dump_universe from test.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Apr  9 15:07:13 2005
@@ -1,5 +1,10 @@
 2005-04-09  Daniel Burrows  <dburrows@debian.org>
 
+	* src/generic/problemresolver/test.cc:
+
+	  Run dump_universe on input universes, both for diagnostics
+	  and to test dump_universe.
+
 	* src/generic/problemresolver/aptitude_resolver.h:
 
 	  Fix the dep_iterator to not blow up.

Modified: branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc	Sat Apr  9 15:07:13 2005
@@ -1007,6 +1007,9 @@
 
 	      delete universe;
 	      universe=new_universe;
+
+	      cout << "Input universe:" << endl;
+	      dump_universe(*universe, cout);
 	    }
 	  else if(s == "TEST")
 	    {