Lines Matching refs:unless
56 unless config_file.nil? || config_file.empty?
60 raise "No :unity or :cmock section found in #{config_file}" unless options
66 @options.merge!(options) unless options.nil?
84 all_files_used += testfile_includes.map { |filename| "#{filename}.c" } unless testfile_includes.empty?
85 all_files_used += @options[:includes] unless @options[:includes].empty?
86 all_files_used += headers[:linkonly] unless headers[:linkonly].empty?
100 create_run_test(output) unless tests.empty?
105 return unless @options[:header_file] && !@options[:header_file].empty?
136 next unless line =~ /^((?:\s*(?:TEST_(?:CASE|RANGE|MATRIX))\s*\(.*?\)\s*)*)\s*void\s+((?:#{@options[:test_prefix]}).*)\s*\(\s*(.*)\s*\)/m
137 next unless line =~ /^((?:\s*(?:TEST_(?:CASE|RANGE|MATRIX))\s*\(.*?\)\s*)*)\s*void\s+((?:#{@options[:test_prefix]})\w*)\s*\(\s*(.*)\s*\)/m
193 next unless line =~ /\s+#{tests_and_line_numbers[i][:test]}(?:\s|\()/
239 output.puts('#include "cmock.h"') unless mocks.empty?
265 return unless @options[:enforce_strict_ordering]
380 return unless @options[:use_param_tests]
452 output.puts(' CMock_Guts_MemFreeFinal();') unless used_mocks.empty?
460 output.puts(' return UnityEnd();') unless @options[:omit_begin_end]
471 output.puts('#include "cmock.h"') unless used_mocks.empty?
516 unless ARGV[0]
542 ARGV[1] = ARGV[0].gsub('.c', '_Runner.c') unless ARGV[1]