Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7521 - in /trunk/sat-solver/testsuite: deptestomatic.c runtest.rb
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Sun, 14 Oct 2007 10:20:54 -0000
  • Message-id: <20071014102054.86B0C455EB@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Sun Oct 14 12:20:54 2007
New Revision: 7521

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7521&view=rev
Log:
remove debug output
run deptestomatic with full path so we can see the path
of the test case in errors

Modified:
    trunk/sat-solver/testsuite/deptestomatic.c
    trunk/sat-solver/testsuite/runtest.rb

Modified: trunk/sat-solver/testsuite/deptestomatic.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/deptestomatic.c?rev=7521&r1=7520&r2=7521&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/deptestomatic.c (original)
+++ trunk/sat-solver/testsuite/deptestomatic.c Sun Oct 14 12:20:54 2007
@@ -704,7 +704,6 @@
            strncpy(locale, name, name - first);
            locale[first-name] = 0;
          }
-       printf("locale %s\n", locale);
 
        insertLocale(pd, locale);
 

Modified: trunk/sat-solver/testsuite/runtest.rb
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/runtest.rb?rev=7521&r1=7520&r2=7521&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/runtest.rb (original)
+++ trunk/sat-solver/testsuite/runtest.rb Sun Oct 14 12:20:54 2007
@@ -133,7 +133,7 @@
       dir = File.dirname(test)
       args = ""
       args = "--redcarpet" if $redcarpet
-      if ( system( "(cd #{dir}; #{$deptestomatic} #{args} #{basename}.xml > #{basename}.result)" ) )
+      if ( system( "#{$deptestomatic} #{args} #{dir}/#{basename}.xml > #{dir}/#{basename}.result" ) )
         sname = File.join( dir, "#{basename}.solution" )
         rname = File.join( dir, "#{basename}.result" )
        result = Solution.compare( sname, rname ) 

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages