Home
last modified time | relevance | path

Searched refs:unless (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/cJSON/tests/unity/auto/
H A Dgenerate_test_runner.rb40 unless config_file.nil? || config_file.empty?
44 raise "No :unity or :cmock section found in #{config_file}" unless options
50 @options.merge!(options) unless options.nil?
67 all_files_used += testfile_includes.map { |filename| filename + '.c' } unless testfile_includes.empty?
68 all_files_used += @options[:includes] unless @options[:includes].empty?
69 all_files_used += headers[:linkonly] unless headers[:linkonly].empty?
84 return unless @options[:header_file] && !@options[:header_file].empty?
103 next unless line =~ /^((?:\s*TEST_CASE\s*\(.*?\)\s*)*)\s*void\s+((?:#{@options[:test_prefix]}).*)\s*\(\s*(.*)\s*\)/
122 next unless line =~ /\s+#{tests_and_line_numbers[i][:test]}(?:\s|\()/
164 output.puts('#include "cmock.h"') unless mock
[all...]
H A Dgenerate_module.rb62 @options[:path_src] += '/' unless @options[:path_src][-1] == 47
63 @options[:path_inc] += '/' unless @options[:path_inc][-1] == 47
64 @options[:path_tst] += '/' unless @options[:path_tst][-1] == 47
115 unless config_file.nil? || config_file.empty?
119 raise "No :unity or :cmock section found in #{config_file}" unless options
195 all_files_exist = false unless File.exist?(file[:path])
209 f.write("#{file[:boilerplate]}\n" % [file[:name]]) unless file[:boilerplate].nil?
267 raise "ERROR: You can't have more than one Module name specified!" unless module_name.nil?
276 unless ARGV[0]
H A Dparse_output.rb64 return unless @xml_out
76 return unless @xml_out
96 return unless @xml_out
118 return unless @xml_out
200 return unless @xml_out
H A Dtest_file_filter.rb14 return false unless @all_files
15 return false unless File.exist?('test_file_filter.yml')
H A Dunity_test_summary.rb41 failure_output << output[:failures] unless output[:failures].empty?
42 ignore_output << output[:ignores] unless output[:ignores].empty?
101 raise "Couldn't parse test results: #{summary}" unless summary.find { |v| v =~ /(\d+) Tests (\d+) Failures (\d+) Ignored/ }
/third_party/unity/auto/
H A Dgenerate_test_runner.rb56 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 lin
[all...]
H A Dgenerate_module.rb65 @options[:path_src] += '/' unless @options[:path_src][-1] == 47
66 @options[:path_inc] += '/' unless @options[:path_inc][-1] == 47
67 @options[:path_tst] += '/' unless @options[:path_tst][-1] == 47
119 unless config_file.nil? || config_file.empty?
123 raise "No :unity or :cmock section found in #{config_file}" unless options
177 name = name[0].downcase + name[1..] unless start_cap
200 all_files_exist = false unless File.exist?(file[:path])
214 f.write("#{file[:boilerplate]}\n" % [file[:name]]) unless file[:boilerplate].nil?
274 raise "ERROR: You can't have more than one Module name specified!" unless module_name.nil?
284 unless ARG
[all...]
H A Dunity_test_summary.rb41 failure_output << output[:failures] unless output[:failures].empty?
42 ignore_output << output[:ignores] unless output[:ignores].empty?
90 next unless status_match
105 raise "Couldn't parse test results: #{summary}" unless summary.find { |v| v =~ /(\d+) Tests (\d+) Failures (\d+) Ignored/ }
H A Dtest_file_filter.rb14 return unless @all_files
17 return unless File.exist?(file)
H A Dparse_output.rb113 return unless base_name.to_s != @test_suite.to_s
183 return unless @xml_out
305 next unless (line_array.size >= 4) || (line.start_with? 'TEST(') || (line.start_with? 'IGNORE_TEST(')
360 return unless @xml_out
/third_party/cJSON/tests/unity/test/
H A Drakefile_helper.rb18 $cfg_file = "targets/#{config_file}" unless config_file =~ /[\\|\/]/
20 $colour_output = false unless $cfg['colour']
25 CLEAN.include($cfg['compiler']['build_path'] + '*.*') unless $cfg['compiler']['build_path'].nil?
29 config_file += '.yml' unless config_file =~ /\.yml$/
30 config_file = config_file unless config_file =~ /[\\|\/]/
52 includes << m[1] unless m.nil?
205 unless $cfg['compiler']['aux_sources'].nil?
216 obj_list << compile(src_file, test_defines) unless src_file.nil?
254 report output unless $verbose # Verbose already prints this line, as does a failure
/third_party/node/deps/openssl/openssl/util/
H A Dfind-doc-nits76 unless $opt_c or $opt_l or $opt_n or $opt_u or $opt_v;
83 $opt_m = "man1,man3,man5,man7" unless $opt_m;
85 unless $opt_m =~ /^(man[1357][, ]?)*$/;
170 unless exists $opts{TAGS} && ref($opts{TAGS}) eq 'ARRAY';
241 next unless $tags{$type};
247 @selected_sections = @sections unless @selected_sections;
286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms;
320 unless $foundfilename;
323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
409 unless define
[all...]
/third_party/openssl/util/
H A Dfind-doc-nits76 unless $opt_c or $opt_l or $opt_n or $opt_u or $opt_v;
83 $opt_m = "man1,man3,man5,man7" unless $opt_m;
85 unless $opt_m =~ /^(man[1357][, ]?)*$/;
170 unless exists $opts{TAGS} && ref($opts{TAGS}) eq 'ARRAY';
241 next unless $tags{$type};
247 @selected_sections = @sections unless @selected_sections;
286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms;
320 unless $foundfilename;
323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
409 unless define
[all...]
/third_party/node/deps/openssl/openssl/
H A DConfigure289 unless (my $return = do $file) {
291 die "couldn't do $file: $!" unless defined $return;
292 die "couldn't run $file" unless $return;
355 unless (defined $version{MAJOR}
512 push(@disablables, "$proto-method") unless $proto eq "tls1_3";
652 last unless @list;
659 last unless @list;
944 unless defined $apitable->{$api};
1062 unless ($_ eq $target || /^no-/ || /^disable-/)
1122 $value //= env($_) unless
[all...]
/third_party/openssl/
H A DConfigure289 unless (my $return = do $file) {
291 die "couldn't do $file: $!" unless defined $return;
292 die "couldn't run $file" unless $return;
355 unless (defined $version{MAJOR}
511 push(@disablables, "$proto-method") unless $proto eq "tls1_3";
652 last unless @list;
659 last unless @list;
940 unless file_name_is_absolute($config{prefix});
946 unless defined $apitable->{$api};
1064 unless (
[all...]
/third_party/cJSON/tests/unity/extras/fixture/
H A Drakefile_helper.rb19 $cfg_file = HERE + "../../test/targets/#{config_file}" unless config_file =~ /[\\|\/]/
21 $colour_output = false unless $cfg['colour']
26 CLEAN.include($cfg['compiler']['build_path'] + '*.*') unless $cfg['compiler']['build_path'].nil?
30 config_file += '.yml' unless config_file =~ /\.yml$/
31 config_file = config_file unless config_file =~ /[\\|\/]/
/third_party/python/Lib/test/
H A Dtest_gettext.py554 unless = self.assertTrue
555 unless(isinstance(self.ngettext('', '', 1), str))
556 unless(isinstance(self.ngettext('', '', 2), str))
559 unless = self.assertTrue
560 unless(isinstance(self.npgettext('', '', '', 1), str))
561 unless(isinstance(self.npgettext('', '', '', 2), str))
565 unless = self.assertTrue
567 unless(isinstance(t, str))
569 unless(isinstance(t, str))
571 unless(isinstanc
[all...]
/third_party/unity/test/
H A Drakefile_helper.rb18 $cfg_file = "targets/#{config_file}" unless config_file =~ /[\\|\/]/
20 $colour_output = false unless $cfg['colour']
29 config_file += '.yml' unless config_file =~ /\.yml$/
30 config_file = config_file unless config_file =~ /[\\|\/]/
55 includes << m[1] unless m.nil?
196 report output unless $verbose # Verbose already prints this line, as does a failure
276 obj_list << compile(src_file, test_defines) unless src_file.nil?
/third_party/cJSON/tests/unity/examples/example_3/
H A Drakefile_helper.rb16 CLEAN.include($cfg['compiler']['build_path'] + '*.*') unless $cfg['compiler']['build_path'].nil?
20 config_file += '.yml' unless config_file =~ /\.yml$/
42 includes << m[1] unless m.nil?
180 obj_list << compile(src_file, test_defines) unless src_file.nil?
232 obj_list << compile(src_file) unless src_file.nil?
/third_party/unity/examples/example_3/
H A Drakefile_helper.rb20 CLEAN.include("#{$cfg['compiler']['build_path']}*.*") unless $cfg['compiler']['build_path'].nil?
24 config_file += '.yml' unless config_file =~ /\.yml$/
46 includes << m[1] unless m.nil?
186 obj_list << compile(src_file, test_defines) unless src_file.nil?
238 obj_list << compile(src_file) unless src_file.nil?
/third_party/libdrm/
H A Dxf86atomic.h105 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() argument
109 while (c != unless && (old = atomic_cmpxchg(v, c, c + add)) != c) in atomic_add_unless()
111 return c == unless; in atomic_add_unless()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_bufmgr.h196 atomic_add_unless(int *v, int add, int unless) in atomic_add_unless() argument
200 while (c != unless && (old = p_atomic_cmpxchg(v, c, c + add)) != c) in atomic_add_unless()
202 return c == unless; in atomic_add_unless()
/third_party/vk-gl-cts/external/vulkan-docs/src/config/extension-highlighter/
H A Dextension.rb5 require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
30 # additional processing unless we hit the end of that conditional
71 unless @skipping
93 # additional processing unless we hit the end of that conditional
134 unless @skipping
/third_party/ltp/pan/cgi/
H A Dresults.cgi15 unless (chdir("/usr/tests/ltp/results")) {
69 unless (param("raw")) {
/third_party/vk-gl-cts/external/vulkan-docs/src/config/
H A Dquiet-include-failure.rb5 require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'

Completed in 12 milliseconds

1234