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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org