lib/grntest/worker.rb in grntest-1.1.2 vs lib/grntest/worker.rb in grntest-1.1.3

- old
+ new

@@ -1,9 +1,7 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2012-2016 Kouhei Sutou <kou@clear-code.com> # -# Copyright (C) 2012-2013 Kouhei Sutou <kou@clear-code.com> -# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # @@ -146,10 +144,12 @@ end def on_test_omission(result) @status = "omitted" @result.on_test_omission - @reporter.on_test_omission(self, result) + unless @tester.suppress_omit_log? + @reporter.on_test_omission(self, result) + end end def on_test_no_check(result) @status = "not checked" @result.on_test_no_check