[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-ruby/experimental_duchain_work] parser/tools: Use unified
From:       Alexander Dymo <adymo () kdevelop ! org>
Date:       2011-08-09 17:12:16
Message-ID: 20110809171216.C6E6CA60AE () git ! kde ! org
[Download RAW message or body]

Git commit 93a085af5ce7cee420dca76f69d919c1692426a9 by Alexander Dymo.
Committed on 09/08/2011 at 17:31.
Pushed by dymo into branch 'experimental_duchain_work'.

Use unified diff output for test suite

M  +1    -1    parser/tools/suite.rb

http://commits.kde.org/kdev-ruby/93a085af5ce7cee420dca76f69d919c1692426a9

diff --git a/parser/tools/suite.rb b/parser/tools/suite.rb
index d9236cd..33c20a6 100644
--- a/parser/tools/suite.rb
+++ b/parser/tools/suite.rb
@@ -46,7 +46,7 @@ def do_diff(str)
   end
   Process.waitpid(pid)
   pid = fork do
-    exec("cd ../tests && diff -sw #{str.gsub('.rb', '.txt')} #{str}.out > output.txt")
+    exec("cd ../tests && diff -swu #{str.gsub('.rb', '.txt')} #{str}.out > output.txt")
   end
   Process.waitpid(pid)
   error = 0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic