• Home
  • Raw
  • Download

Lines Matching +full:big +full:- +full:tests

4     cmd: "$(location :pdlc) --output-format rust $(in) > $(out)",
18 cmd: "$(location :pdlc) --output-format rust_legacy $(in) > $(out)",
32 cmd: "$(location :pdlc) --output-format rust_no_alloc $(in) > $(out)",
57 "tests/generated/rust/**/*.rs",
82 test_suites: ["general-tests"],
90 cmd: "$(location tests/generated_files_compile.sh) $(in) > $(out)",
93 tool_files: ["tests/generated_files_compile.sh"],
106 test_suites: ["general-tests"],
125 cmd: "sed -e 's/little_endian_packets/big_endian_packets/' " +
126 " -e '/Start: little_endian_only/,/End: little_endian_only/d' " +
133 srcs: ["tests/canonical/le_test_file.pdl"],
140 " --output-format rust" +
141 " --exclude-declaration UnsizedCustomField" +
142 " --exclude-declaration Packet_Custom_Field_VariableSize" +
143 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
144 " --exclude-declaration Struct_Custom_Field_VariableSize" +
145 " --exclude-declaration Checksum" +
146 " --exclude-declaration Packet_Checksum_Field_FromStart" +
147 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
148 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
149 " --exclude-declaration Struct_Checksum_Field_FromStart" +
150 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
151 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
152 " --exclude-declaration PartialParent5" +
153 " --exclude-declaration PartialParent12" +
154 " --exclude-declaration PartialChild5_A" +
155 " --exclude-declaration PartialChild5_B" +
156 " --exclude-declaration PartialChild12_A" +
157 " --exclude-declaration PartialChild12_B" +
158 " --exclude-declaration Packet_Array_Field_UnsizedElement_SizeModifier" +
159 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier_" +
160 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier" +
161 " $(location tests/canonical/le_test_file.pdl) > $(out);" +
162 …"$(location :pdlc) $(location tests/canonical/le_test_vectors.json) --output-format rust --tests >…
164 "tests/canonical/le_test_file.pdl",
165 "tests/canonical/le_test_vectors.json",
174 " --output-format rust" +
175 " --exclude-declaration UnsizedCustomField" +
176 " --exclude-declaration Packet_Custom_Field_VariableSize" +
177 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
178 " --exclude-declaration Struct_Custom_Field_VariableSize" +
179 " --exclude-declaration Checksum" +
180 " --exclude-declaration Packet_Checksum_Field_FromStart" +
181 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
182 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
183 " --exclude-declaration Struct_Checksum_Field_FromStart" +
184 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
185 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
186 " --exclude-declaration Packet_Array_Field_UnsizedElement_SizeModifier" +
187 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier_" +
188 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier" +
190 …"$(location :pdlc) $(location tests/canonical/be_test_vectors.json) --output-format rust --tests >…
193 "tests/canonical/be_test_vectors.json",
202 test_suites: ["general-tests"],
218 test_suites: ["general-tests"],
232 // little endian test file located at tests/canonical/le_test_file.pdl.
236 cmd: "set -o pipefail;" +
239 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
240 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
241 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
242 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
243 " --output $(out) --custom-type-location tests.custom_types",
245 "tests/custom_types.py",
248 "tests/canonical/le_test_file.pdl",
255 // Generate the python parser+serializer backend for a big endian test
256 // file derived from tests/canonical/le_test_file.pdl.
260 cmd: "set -o pipefail;" +
263 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
264 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
265 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
266 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
267 " --output $(out) --custom-type-location tests.custom_types",
269 "tests/custom_types.py",
280 // pre-generated binary inputs.
283 main: "tests/python_generator_test.py",
287 "tests/custom_types.py",
288 "tests/python_generator_test.py",
291 "tests/canonical/be_test_vectors.json",
292 "tests/canonical/le_test_vectors.json",
307 // Generate the rust_noalloc backend srcs against the little-endian test vectors
311 srcs: ["tests/canonical/le_rust_noalloc_test_file.pdl"],
316 // little endian test file located at tests/canonical/le_test_file.pdl.
320 cmd: "set -o pipefail;" +
323 " --exclude-declaration Packet_Custom_Field_ConstantSize" +
324 " --exclude-declaration Packet_Custom_Field_VariableSize" +
325 " --exclude-declaration Packet_Checksum_Field_FromStart" +
326 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
327 " --exclude-declaration Struct_Custom_Field_ConstantSize" +
328 " --exclude-declaration Struct_Custom_Field_VariableSize" +
329 " --exclude-declaration Struct_Checksum_Field_FromStart" +
330 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
331 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
332 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
333 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
334 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
335 " --exclude-declaration Struct_Custom_Field_ConstantSize_" +
336 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
337 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
338 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
339 " --exclude-declaration PartialParent5" +
340 " --exclude-declaration PartialChild5_A" +
341 " --exclude-declaration PartialChild5_B" +
342 " --exclude-declaration PartialParent12" +
343 " --exclude-declaration PartialChild12_A" +
344 " --exclude-declaration PartialChild12_B" +
345 " --namespace le_test" +
346 " --output $(out)",
348 "tests/canonical/le_test_file.pdl",
355 // Generate the C++ parser+serializer backend tests for the
356 // little endian test file located at tests/canonical/le_test_file.pdl.
359 cmd: "set -o pipefail;" +
363 " --output $(out)" +
364 " --test-vectors $${inputs[1]}" +
365 " --include-header $$(basename $${inputs[2]})" +
366 " --using-namespace le_test" +
367 " --namespace le_test" +
368 " --parser-test-suite LeParserTest" +
369 " --serializer-test-suite LeSerializerTest",
375 "tests/canonical/le_test_file.pdl",
377 "tests/canonical/le_test_vectors.json",
387 // big endian test file.
391 cmd: "set -o pipefail;" +
394 " --exclude-declaration Packet_Custom_Field_ConstantSize" +
395 " --exclude-declaration Packet_Custom_Field_VariableSize" +
396 " --exclude-declaration Packet_Checksum_Field_FromStart" +
397 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
398 " --exclude-declaration Struct_Custom_Field_ConstantSize" +
399 " --exclude-declaration Struct_Custom_Field_VariableSize" +
400 " --exclude-declaration Struct_Checksum_Field_FromStart" +
401 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
402 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
403 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
404 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
405 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
406 " --exclude-declaration Struct_Custom_Field_ConstantSize_" +
407 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
408 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
409 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
410 " --exclude-declaration PartialParent5" +
411 " --exclude-declaration PartialChild5_A" +
412 " --exclude-declaration PartialChild5_B" +
413 " --exclude-declaration PartialParent12" +
414 " --exclude-declaration PartialChild12_A" +
415 " --exclude-declaration PartialChild12_B" +
416 " --namespace be_test" +
417 " --output $(out)",
426 // Generate the C++ parser+serializer backend tests for the
427 // big endian test file.
430 cmd: "set -o pipefail;" +
434 " --output $(out)" +
435 " --test-vectors $${inputs[1]}" +
436 " --include-header $$(basename $${inputs[2]})" +
437 " --using-namespace be_test" +
438 " --namespace be_test" +
439 " --parser-test-suite BeParserTest" +
440 " --serializer-test-suite BeSerializerTest",
448 "tests/canonical/be_test_vectors.json",
458 // pre-generated binary inputs.