[U-Boot] [PATCH 26/45] binman: Move to three-digit test-file numbers

sjg at google.com sjg at google.com
Tue Oct 9 23:55:07 UTC 2018


We now have 99 tests. Before adding any more, rename everything to three
digits. This helps to preserve the ordering of tests and makes it easier
to find things.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/entry_test.py                    |   2 +-
 tools/binman/fdt_test.py                      |   4 +-
 tools/binman/ftest.py                         | 224 +++++++++---------
 .../test/{01_invalid.dts => 001_invalid.dts}  |   0
 ..._missing_node.dts => 002_missing_node.dts} |   0
 .../test/{03_empty.dts => 003_empty.dts}      |   0
 ...nvalid_entry.dts => 004_invalid_entry.dts} |   0
 .../test/{05_simple.dts => 005_simple.dts}    |   0
 .../{06_dual_image.dts => 006_dual_image.dts} |   0
 .../{07_bad_align.dts => 007_bad_align.dts}   |   0
 .../binman/test/{08_pack.dts => 008_pack.dts} |   0
 .../{09_pack_extra.dts => 009_pack_extra.dts} |   0
 ...n_power2.dts => 010_pack_align_power2.dts} |   0
 ...er2.dts => 011_pack_align_size_power2.dts} |   0
 ...k_inv_align.dts => 012_pack_inv_align.dts} |   0
 ..._align.dts => 013_pack_inv_size_align.dts} |   0
 ..._pack_overlap.dts => 014_pack_overlap.dts} |   0
 ...ack_overflow.dts => 015_pack_overflow.dts} |   0
 ...erflow.dts => 016_pack_image_overflow.dts} |   0
 ...image_size.dts => 017_pack_image_size.dts} |   0
 ...age_align.dts => 018_pack_image_align.dts} |   0
 ...align.dts => 019_pack_inv_image_align.dts} |   0
 ...ts => 020_pack_inv_image_align_power2.dts} |   0
 .../{21_image_pad.dts => 021_image_pad.dts}   |   0
 .../{22_image_name.dts => 022_image_name.dts} |   0
 .../binman/test/{23_blob.dts => 023_blob.dts} |   0
 .../test/{24_sorted.dts => 024_sorted.dts}    |   0
 ...k_zero_size.dts => 025_pack_zero_size.dts} |   0
 ...u_boot_dtb.dts => 026_pack_u_boot_dtb.dts} |   0
 ...b_no_size.dts => 027_pack_4gb_no_size.dts} |   0
 ...b_outside.dts => 028_pack_4gb_outside.dts} |   0
 .../test/{29_x86-rom.dts => 029_x86-rom.dts}  |   0
 ...no-desc.dts => 030_x86-rom-me-no-desc.dts} |   0
 .../{31_x86-rom-me.dts => 031_x86-rom-me.dts} |   0
 .../{32_intel-vga.dts => 032_intel-vga.dts}   |   0
 ...33_x86-start16.dts => 033_x86-start16.dts} |   0
 .../{34_x86_ucode.dts => 034_x86_ucode.dts}   |   0
 ...gle_ucode.dts => 035_x86_single_ucode.dts} |   0
 .../{36_u_boot_img.dts => 036_u_boot_img.dts} |   0
 ..._x86_no_ucode.dts => 037_x86_no_ucode.dts} |   0
 ...ode.dts => 038_x86_ucode_missing_node.dts} |   0
 ...e2.dts => 039_x86_ucode_missing_node2.dts} |   0
 ...age.dts => 040_x86_ucode_not_in_image.dts} |   0
 ..._pos_size.dts => 041_unknown_pos_size.dts} |   0
 .../{42_intel-fsp.dts => 042_intel-fsp.dts}   |   0
 .../{43_intel-cmc.dts => 043_intel-cmc.dts}   |   0
 ...l_ucode.dts => 044_x86_optional_ucode.dts} |   0
 .../{45_prop_test.dts => 045_prop_test.dts}   |   0
 .../{46_intel-vbt.dts => 046_intel-vbt.dts}   |   0
 ...47_spl_bss_pad.dts => 047_spl_bss_pad.dts} |   0
 ...tart16-spl.dts => 048_x86-start16-spl.dts} |   0
 ...86_ucode_spl.dts => 049_x86_ucode_spl.dts} |   0
 .../{50_intel_mrc.dts => 050_intel_mrc.dts}   |   0
 ...oot_spl_dtb.dts => 051_u_boot_spl_dtb.dts} |   0
 ...spl_nodtb.dts => 052_u_boot_spl_nodtb.dts} |   0
 .../test/{53_symbols.dts => 053_symbols.dts}  |   0
 ..._unit_address.dts => 054_unit_address.dts} |   0
 .../{55_sections.dts => 055_sections.dts}     |   0
 ...56_name_prefix.dts => 056_name_prefix.dts} |   0
 ..._contents.dts => 057_unknown_contents.dts} |   0
 ....dts => 058_x86_ucode_spl_needs_retry.dts} |   0
 ...59_change_size.dts => 059_change_size.dts} |   0
 .../{60_fdt_update.dts => 060_fdt_update.dts} |   0
 ..._update_bad.dts => 061_fdt_update_bad.dts} |   0
 .../{62_entry_args.dts => 062_entry_args.dts} |   0
 ...missing.dts => 063_entry_args_missing.dts} |   0
 ...quired.dts => 064_entry_args_required.dts} |   0
 ...ts => 065_entry_args_unknown_datatype.dts} |   0
 .../binman/test/{66_text.dts => 066_text.dts} |   0
 .../binman/test/{67_fmap.dts => 067_fmap.dts} |   0
 ...d_by_arg.dts => 068_blob_named_by_arg.dts} |   0
 .../binman/test/{69_fill.dts => 069_fill.dts} |   0
 ..._fill_no_size.dts => 070_fill_no_size.dts} |   0
 tools/binman/test/{71_gbb.dts => 071_gbb.dts} |   0
 ...bb_too_small.dts => 072_gbb_too_small.dts} |   0
 ...73_gbb_no_size.dts => 073_gbb_no_size.dts} |   0
 .../test/{74_vblock.dts => 074_vblock.dts}    |   0
 ..._content.dts => 075_vblock_no_content.dts} |   0
 ...phandle.dts => 076_vblock_bad_phandle.dts} |   0
 ...bad_entry.dts => 077_vblock_bad_entry.dts} |   0
 .../{78_u_boot_tpl.dts => 078_u_boot_tpl.dts} |   0
 .../{79_uses_pos.dts => 079_uses_pos.dts}     |   0
 .../{80_fill_empty.dts => 080_fill_empty.dts} |   0
 ...tart16-tpl.dts => 081_x86-start16-tpl.dts} |   0
 ..._update_all.dts => 082_fdt_update_all.dts} |   0
 .../{83_compress.dts => 083_compress.dts}     |   0
 .../test/{84_files.dts => 084_files.dts}      |   0
 ...es_compress.dts => 085_files_compress.dts} |   0
 .../{86_files_none.dts => 086_files_none.dts} |   0
 ...o_pattern.dts => 087_files_no_pattern.dts} |   0
 ...88_expand_size.dts => 088_expand_size.dts} |   0
 ...d_size_bad.dts => 089_expand_size_bad.dts} |   0
 .../binman/test/{90_hash.dts => 090_hash.dts} |   0
 ..._hash_no_algo.dts => 091_hash_no_algo.dts} |   0
 ...ash_bad_algo.dts => 092_hash_bad_algo.dts} |   0
 ...86_tpl_ucode.dts => 093_x86_tpl_ucode.dts} |   0
 .../{94_fmap_x86.dts => 094_fmap_x86.dts}     |   0
 ...6_section.dts => 095_fmap_x86_section.dts} |   0
 tools/binman/test/{96_elf.dts => 096_elf.dts} |   0
 .../{97_elf_strip.dts => 097_elf_strip.dts}   |   0
 ..._hash_section.dts => 099_hash_section.dts} |   0
 101 files changed, 115 insertions(+), 115 deletions(-)
 rename tools/binman/test/{01_invalid.dts => 001_invalid.dts} (100%)
 rename tools/binman/test/{02_missing_node.dts => 002_missing_node.dts} (100%)
 rename tools/binman/test/{03_empty.dts => 003_empty.dts} (100%)
 rename tools/binman/test/{04_invalid_entry.dts => 004_invalid_entry.dts} (100%)
 rename tools/binman/test/{05_simple.dts => 005_simple.dts} (100%)
 rename tools/binman/test/{06_dual_image.dts => 006_dual_image.dts} (100%)
 rename tools/binman/test/{07_bad_align.dts => 007_bad_align.dts} (100%)
 rename tools/binman/test/{08_pack.dts => 008_pack.dts} (100%)
 rename tools/binman/test/{09_pack_extra.dts => 009_pack_extra.dts} (100%)
 rename tools/binman/test/{10_pack_align_power2.dts =>
010_pack_align_power2.dts} (100%)
 rename tools/binman/test/{11_pack_align_size_power2.dts =>
011_pack_align_size_power2.dts} (100%)
 rename tools/binman/test/{12_pack_inv_align.dts =>
012_pack_inv_align.dts} (100%)
 rename tools/binman/test/{13_pack_inv_size_align.dts =>
013_pack_inv_size_align.dts} (100%)
 rename tools/binman/test/{14_pack_overlap.dts => 014_pack_overlap.dts} (100%)
 rename tools/binman/test/{15_pack_overflow.dts => 015_pack_overflow.dts} (100%)
 rename tools/binman/test/{16_pack_image_overflow.dts =>
016_pack_image_overflow.dts} (100%)
 rename tools/binman/test/{17_pack_image_size.dts =>
017_pack_image_size.dts} (100%)
 rename tools/binman/test/{18_pack_image_align.dts =>
018_pack_image_align.dts} (100%)
 rename tools/binman/test/{19_pack_inv_image_align.dts =>
019_pack_inv_image_align.dts} (100%)
 rename tools/binman/test/{20_pack_inv_image_align_power2.dts =>
020_pack_inv_image_align_power2.dts} (100%)
 rename tools/binman/test/{21_image_pad.dts => 021_image_pad.dts} (100%)
 rename tools/binman/test/{22_image_name.dts => 022_image_name.dts} (100%)
 rename tools/binman/test/{23_blob.dts => 023_blob.dts} (100%)
 rename tools/binman/test/{24_sorted.dts => 024_sorted.dts} (100%)
 rename tools/binman/test/{25_pack_zero_size.dts =>
025_pack_zero_size.dts} (100%)
 rename tools/binman/test/{26_pack_u_boot_dtb.dts =>
026_pack_u_boot_dtb.dts} (100%)
 rename tools/binman/test/{27_pack_4gb_no_size.dts =>
027_pack_4gb_no_size.dts} (100%)
 rename tools/binman/test/{28_pack_4gb_outside.dts =>
028_pack_4gb_outside.dts} (100%)
 rename tools/binman/test/{29_x86-rom.dts => 029_x86-rom.dts} (100%)
 rename tools/binman/test/{30_x86-rom-me-no-desc.dts =>
030_x86-rom-me-no-desc.dts} (100%)
 rename tools/binman/test/{31_x86-rom-me.dts => 031_x86-rom-me.dts} (100%)
 rename tools/binman/test/{32_intel-vga.dts => 032_intel-vga.dts} (100%)
 rename tools/binman/test/{33_x86-start16.dts => 033_x86-start16.dts} (100%)
 rename tools/binman/test/{34_x86_ucode.dts => 034_x86_ucode.dts} (100%)
 rename tools/binman/test/{35_x86_single_ucode.dts =>
035_x86_single_ucode.dts} (100%)
 rename tools/binman/test/{36_u_boot_img.dts => 036_u_boot_img.dts} (100%)
 rename tools/binman/test/{37_x86_no_ucode.dts => 037_x86_no_ucode.dts} (100%)
 rename tools/binman/test/{38_x86_ucode_missing_node.dts =>
038_x86_ucode_missing_node.dts} (100%)
 rename tools/binman/test/{39_x86_ucode_missing_node2.dts =>
039_x86_ucode_missing_node2.dts} (100%)
 rename tools/binman/test/{40_x86_ucode_not_in_image.dts =>
040_x86_ucode_not_in_image.dts} (100%)
 rename tools/binman/test/{41_unknown_pos_size.dts =>
041_unknown_pos_size.dts} (100%)
 rename tools/binman/test/{42_intel-fsp.dts => 042_intel-fsp.dts} (100%)
 rename tools/binman/test/{43_intel-cmc.dts => 043_intel-cmc.dts} (100%)
 rename tools/binman/test/{44_x86_optional_ucode.dts =>
044_x86_optional_ucode.dts} (100%)
 rename tools/binman/test/{45_prop_test.dts => 045_prop_test.dts} (100%)
 rename tools/binman/test/{46_intel-vbt.dts => 046_intel-vbt.dts} (100%)
 rename tools/binman/test/{47_spl_bss_pad.dts => 047_spl_bss_pad.dts} (100%)
 rename tools/binman/test/{48_x86-start16-spl.dts =>
048_x86-start16-spl.dts} (100%)
 rename tools/binman/test/{49_x86_ucode_spl.dts => 049_x86_ucode_spl.dts} (100%)
 rename tools/binman/test/{50_intel_mrc.dts => 050_intel_mrc.dts} (100%)
 rename tools/binman/test/{51_u_boot_spl_dtb.dts =>
051_u_boot_spl_dtb.dts} (100%)
 rename tools/binman/test/{52_u_boot_spl_nodtb.dts =>
052_u_boot_spl_nodtb.dts} (100%)
 rename tools/binman/test/{53_symbols.dts => 053_symbols.dts} (100%)
 rename tools/binman/test/{54_unit_address.dts => 054_unit_address.dts} (100%)
 rename tools/binman/test/{55_sections.dts => 055_sections.dts} (100%)
 rename tools/binman/test/{56_name_prefix.dts => 056_name_prefix.dts} (100%)
 rename tools/binman/test/{57_unknown_contents.dts =>
057_unknown_contents.dts} (100%)
 rename tools/binman/test/{58_x86_ucode_spl_needs_retry.dts =>
058_x86_ucode_spl_needs_retry.dts} (100%)
 rename tools/binman/test/{59_change_size.dts => 059_change_size.dts} (100%)
 rename tools/binman/test/{60_fdt_update.dts => 060_fdt_update.dts} (100%)
 rename tools/binman/test/{61_fdt_update_bad.dts =>
061_fdt_update_bad.dts} (100%)
 rename tools/binman/test/{62_entry_args.dts => 062_entry_args.dts} (100%)
 rename tools/binman/test/{63_entry_args_missing.dts =>
063_entry_args_missing.dts} (100%)
 rename tools/binman/test/{64_entry_args_required.dts =>
064_entry_args_required.dts} (100%)
 rename tools/binman/test/{65_entry_args_unknown_datatype.dts =>
065_entry_args_unknown_datatype.dts} (100%)
 rename tools/binman/test/{66_text.dts => 066_text.dts} (100%)
 rename tools/binman/test/{67_fmap.dts => 067_fmap.dts} (100%)
 rename tools/binman/test/{68_blob_named_by_arg.dts =>
068_blob_named_by_arg.dts} (100%)
 rename tools/binman/test/{69_fill.dts => 069_fill.dts} (100%)
 rename tools/binman/test/{70_fill_no_size.dts => 070_fill_no_size.dts} (100%)
 rename tools/binman/test/{71_gbb.dts => 071_gbb.dts} (100%)
 rename tools/binman/test/{72_gbb_too_small.dts => 072_gbb_too_small.dts} (100%)
 rename tools/binman/test/{73_gbb_no_size.dts => 073_gbb_no_size.dts} (100%)
 rename tools/binman/test/{74_vblock.dts => 074_vblock.dts} (100%)
 rename tools/binman/test/{75_vblock_no_content.dts =>
075_vblock_no_content.dts} (100%)
 rename tools/binman/test/{76_vblock_bad_phandle.dts =>
076_vblock_bad_phandle.dts} (100%)
 rename tools/binman/test/{77_vblock_bad_entry.dts =>
077_vblock_bad_entry.dts} (100%)
 rename tools/binman/test/{78_u_boot_tpl.dts => 078_u_boot_tpl.dts} (100%)
 rename tools/binman/test/{79_uses_pos.dts => 079_uses_pos.dts} (100%)
 rename tools/binman/test/{80_fill_empty.dts => 080_fill_empty.dts} (100%)
 rename tools/binman/test/{81_x86-start16-tpl.dts =>
081_x86-start16-tpl.dts} (100%)
 rename tools/binman/test/{82_fdt_update_all.dts =>
082_fdt_update_all.dts} (100%)
 rename tools/binman/test/{83_compress.dts => 083_compress.dts} (100%)
 rename tools/binman/test/{84_files.dts => 084_files.dts} (100%)
 rename tools/binman/test/{85_files_compress.dts =>
085_files_compress.dts} (100%)
 rename tools/binman/test/{86_files_none.dts => 086_files_none.dts} (100%)
 rename tools/binman/test/{87_files_no_pattern.dts =>
087_files_no_pattern.dts} (100%)
 rename tools/binman/test/{88_expand_size.dts => 088_expand_size.dts} (100%)
 rename tools/binman/test/{89_expand_size_bad.dts =>
089_expand_size_bad.dts} (100%)
 rename tools/binman/test/{90_hash.dts => 090_hash.dts} (100%)
 rename tools/binman/test/{91_hash_no_algo.dts => 091_hash_no_algo.dts} (100%)
 rename tools/binman/test/{92_hash_bad_algo.dts => 092_hash_bad_algo.dts} (100%)
 rename tools/binman/test/{93_x86_tpl_ucode.dts => 093_x86_tpl_ucode.dts} (100%)
 rename tools/binman/test/{94_fmap_x86.dts => 094_fmap_x86.dts} (100%)
 rename tools/binman/test/{95_fmap_x86_section.dts =>
095_fmap_x86_section.dts} (100%)
 rename tools/binman/test/{96_elf.dts => 096_elf.dts} (100%)
 rename tools/binman/test/{97_elf_strip.dts => 097_elf_strip.dts} (100%)
 rename tools/binman/test/{99_hash_section.dts => 099_hash_section.dts} (100%)

Applied to u-boot-dm


More information about the U-Boot mailing list