• Home
  • Raw
  • Download

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

64     cmd: "$(location :pdlc) --output-format rust $(in) > $(out)",
78 cmd: "$(location :pdlc) --output-format rust_legacy $(in) > $(out)",
92 cmd: "$(location :pdlc) --output-format rust_no_alloc $(in) > $(out)",
117 "tests/generated/rust/**/*.rs",
142 test_suites: ["general-tests"],
150 cmd: "$(location tests/generated_files_compile.sh) $(in) > $(out)",
153 tool_files: ["tests/generated_files_compile.sh"],
166 test_suites: ["general-tests"],
185 cmd: "sed -e 's/little_endian_packets/big_endian_packets/' " +
186 " -e '/Start: little_endian_only/,/End: little_endian_only/d' " +
193 srcs: ["tests/canonical/le_test_file.pdl"],
200 " --output-format rust" +
201 " --exclude-declaration UnsizedCustomField" +
202 " --exclude-declaration Packet_Custom_Field_VariableSize" +
203 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
204 " --exclude-declaration Struct_Custom_Field_VariableSize" +
205 " --exclude-declaration Checksum" +
206 " --exclude-declaration Packet_Checksum_Field_FromStart" +
207 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
208 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
209 " --exclude-declaration Struct_Checksum_Field_FromStart" +
210 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
211 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
212 " --exclude-declaration PartialParent5" +
213 " --exclude-declaration PartialParent12" +
214 " --exclude-declaration PartialChild5_A" +
215 " --exclude-declaration PartialChild5_B" +
216 " --exclude-declaration PartialChild12_A" +
217 " --exclude-declaration PartialChild12_B" +
218 " --exclude-declaration Packet_Array_Field_UnsizedElement_SizeModifier" +
219 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier_" +
220 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier" +
221 " $(location tests/canonical/le_test_file.pdl) > $(out);" +
222 …"$(location :pdlc) $(location tests/canonical/le_test_vectors.json) --output-format rust --tests >…
224 "tests/canonical/le_test_file.pdl",
225 "tests/canonical/le_test_vectors.json",
234 " --output-format rust" +
235 " --exclude-declaration UnsizedCustomField" +
236 " --exclude-declaration Packet_Custom_Field_VariableSize" +
237 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
238 " --exclude-declaration Struct_Custom_Field_VariableSize" +
239 " --exclude-declaration Checksum" +
240 " --exclude-declaration Packet_Checksum_Field_FromStart" +
241 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
242 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
243 " --exclude-declaration Struct_Checksum_Field_FromStart" +
244 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
245 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
246 " --exclude-declaration Packet_Array_Field_UnsizedElement_SizeModifier" +
247 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier_" +
248 " --exclude-declaration Struct_Array_Field_UnsizedElement_SizeModifier" +
250 …"$(location :pdlc) $(location tests/canonical/be_test_vectors.json) --output-format rust --tests >…
253 "tests/canonical/be_test_vectors.json",
262 test_suites: ["general-tests"],
278 test_suites: ["general-tests"],
292 // little endian test file located at tests/canonical/le_test_file.pdl.
296 cmd: "set -o pipefail;" +
299 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
300 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
301 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
302 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
303 " --output $(out) --custom-type-location tests.custom_types",
305 "tests/custom_types.py",
308 "tests/canonical/le_test_file.pdl",
315 // Generate the python parser+serializer backend for a big endian test
316 // file derived from tests/canonical/le_test_file.pdl.
320 cmd: "set -o pipefail;" +
323 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
324 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
325 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
326 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
327 " --output $(out) --custom-type-location tests.custom_types",
329 "tests/custom_types.py",
340 // pre-generated binary inputs.
343 main: "tests/python_generator_test.py",
347 "tests/custom_types.py",
348 "tests/python_generator_test.py",
351 "tests/canonical/be_test_vectors.json",
352 "tests/canonical/le_test_vectors.json",
367 // Generate the rust_noalloc backend srcs against the little-endian test vectors
371 srcs: ["tests/canonical/le_rust_noalloc_test_file.pdl"],
376 // little endian test file located at tests/canonical/le_test_file.pdl.
380 cmd: "set -o pipefail;" +
383 " --exclude-declaration Packet_Custom_Field_ConstantSize" +
384 " --exclude-declaration Packet_Custom_Field_VariableSize" +
385 " --exclude-declaration Packet_Checksum_Field_FromStart" +
386 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
387 " --exclude-declaration Struct_Custom_Field_ConstantSize" +
388 " --exclude-declaration Struct_Custom_Field_VariableSize" +
389 " --exclude-declaration Struct_Checksum_Field_FromStart" +
390 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
391 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
392 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
393 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
394 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
395 " --exclude-declaration Struct_Custom_Field_ConstantSize_" +
396 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
397 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
398 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
399 " --exclude-declaration PartialParent5" +
400 " --exclude-declaration PartialChild5_A" +
401 " --exclude-declaration PartialChild5_B" +
402 " --exclude-declaration PartialParent12" +
403 " --exclude-declaration PartialChild12_A" +
404 " --exclude-declaration PartialChild12_B" +
405 " --namespace le_test" +
406 " --output $(out)",
408 "tests/canonical/le_test_file.pdl",
415 // Generate the C++ parser+serializer backend tests for the
416 // little endian test file located at tests/canonical/le_test_file.pdl.
419 cmd: "set -o pipefail;" +
423 " --output $(out)" +
424 " --test-vectors $${inputs[1]}" +
425 " --include-header $$(basename $${inputs[2]})" +
426 " --using-namespace le_test" +
427 " --namespace le_test" +
428 " --parser-test-suite LeParserTest" +
429 " --serializer-test-suite LeSerializerTest",
435 "tests/canonical/le_test_file.pdl",
437 "tests/canonical/le_test_vectors.json",
447 // big endian test file.
451 cmd: "set -o pipefail;" +
454 " --exclude-declaration Packet_Custom_Field_ConstantSize" +
455 " --exclude-declaration Packet_Custom_Field_VariableSize" +
456 " --exclude-declaration Packet_Checksum_Field_FromStart" +
457 " --exclude-declaration Packet_Checksum_Field_FromEnd" +
458 " --exclude-declaration Struct_Custom_Field_ConstantSize" +
459 " --exclude-declaration Struct_Custom_Field_VariableSize" +
460 " --exclude-declaration Struct_Checksum_Field_FromStart" +
461 " --exclude-declaration Struct_Checksum_Field_FromEnd" +
462 " --exclude-declaration Packet_Array_Field_VariableElementSize_ConstantSize" +
463 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableSize" +
464 " --exclude-declaration Packet_Array_Field_VariableElementSize_VariableCount" +
465 " --exclude-declaration Packet_Array_Field_VariableElementSize_UnknownSize" +
466 " --exclude-declaration Struct_Custom_Field_ConstantSize_" +
467 " --exclude-declaration Struct_Custom_Field_VariableSize_" +
468 " --exclude-declaration Struct_Checksum_Field_FromStart_" +
469 " --exclude-declaration Struct_Checksum_Field_FromEnd_" +
470 " --exclude-declaration PartialParent5" +
471 " --exclude-declaration PartialChild5_A" +
472 " --exclude-declaration PartialChild5_B" +
473 " --exclude-declaration PartialParent12" +
474 " --exclude-declaration PartialChild12_A" +
475 " --exclude-declaration PartialChild12_B" +
476 " --namespace be_test" +
477 " --output $(out)",
486 // Generate the C++ parser+serializer backend tests for the
487 // big endian test file.
490 cmd: "set -o pipefail;" +
494 " --output $(out)" +
495 " --test-vectors $${inputs[1]}" +
496 " --include-header $$(basename $${inputs[2]})" +
497 " --using-namespace be_test" +
498 " --namespace be_test" +
499 " --parser-test-suite BeParserTest" +
500 " --serializer-test-suite BeSerializerTest",
508 "tests/canonical/be_test_vectors.json",
518 // pre-generated binary inputs.