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

List:       kde-commits
Subject:    [kdev-ruby] parser/tools: Use unified diff for tests (again)
From:       Alexander Dymo <adymo () kdevelop ! org>
Date:       2011-08-10 13:40:13
Message-ID: 20110810134013.8F2B9A60AE () git ! kde ! org
[Download RAW message or body]

Git commit f52153b25aed9f448ce4ede34f7b877485f141f8 by Alexander Dymo.
Committed on 10/08/2011 at 15:20.
Pushed by dymo into branch 'master'.

Use unified diff for tests (again)

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

http://commits.kde.org/kdev-ruby/f52153b25aed9f448ce4ede34f7b877485f141f8

diff --git a/parser/tools/suite.rb b/parser/tools/suite.rb
index 261f951..412c758 100644
--- a/parser/tools/suite.rb
+++ b/parser/tools/suite.rb
@@ -54,7 +54,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