Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7731 - /trunk/sat-solver/testsuite/runtest.rb
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Wed, 31 Oct 2007 20:43:03 -0000
  • Message-id: <20071031204303.6715E33DCF@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Wed Oct 31 21:43:03 2007
New Revision: 7731

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7731&view=rev
Log:
support 'build dir' as used by cmake

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

Modified: trunk/sat-solver/testsuite/runtest.rb
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/runtest.rb?rev=7731&r1=7730&r2=7731&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/runtest.rb (original)
+++ trunk/sat-solver/testsuite/runtest.rb Wed Oct 31 21:43:03 2007
@@ -19,7 +19,12 @@
$redcarpet = false

$tests = Array.new
-$deptestomatic = File.join( Dir.getwd, "deptestomatic" )
+if File.executable?( "./deptestomatic" )
+ execdir = Dir.getwd
+else
+ execdir = "../build/testsuite"
+end
+$deptestomatic = File.join( execdir, "deptestomatic" )
$topdir = Dir.getwd
$fails = Array.new
$ignorecount = 0

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

< Previous Next >
List Navigation
This Thread
  • No further messages