ref: refs/heads/master
commit 8a5b91a95824ba82653fc37947ecff0a73f6cd24
Author: Stanislav Visnovsky
Date: Thu Jul 23 15:27:04 2009 +0200
- silence too much information for system_check
---
webservice/lib/tasks/checks.rake | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/webservice/lib/tasks/checks.rake b/webservice/lib/tasks/checks.rake
index 5a6b516..5a97e53 100644
--- a/webservice/lib/tasks/checks.rake
+++ b/webservice/lib/tasks/checks.rake
@@ -193,12 +193,12 @@ EOF
modulename = namespace.capitalize + "::" + modulename
end
end
- ok = system %(cd #{File.dirname(__FILE__)}; export RAILS_PARENT=../../; ruby plugin_test/functional/plugin_index_test.rb --plugin #{modulename})
+ ok = system %(cd #{File.dirname(__FILE__)}; export RAILS_PARENT=../../; ruby plugin_test/functional/plugin_index_test.rb --plugin #{modulename} > /dev/null)
if !ok
- puts "Trying \"GET show\" cause some plugins do not support \"GET index\"..."
- ok = system %(cd #{File.dirname(__FILE__)}; export RAILS_PARENT=../../; ruby plugin_test/functional/plugin_show_test.rb --plugin #{modulename})
+ # puts "Trying \"GET show\" cause some plugins do not support \"GET index\"..."
+ ok = system %(cd #{File.dirname(__FILE__)}; export RAILS_PARENT=../../; ruby plugin_test/functional/plugin_show_test.rb --plugin #{modulename} > /dev/null)
end
- escape "plugin #{modulename} does not work correctly", "check the logfiles" unless ok
+ escape "plugin #{modulename} does not work correctly", "try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin #{modulename}' and check the result" unless ok
errors = true
end
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org