utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
PATCH 1/1 utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
Initial patch to start reproducibility testing.
Also enable tar filesystem to compare images since diffoscope works well with tar.
--- utils/genrandconfig | 8 ++++++++ 1 file changed, 8 insertions(+)
utils/genrandconfig +8 -0
@@ -366,6 +366,14 @@ def gen_config(args): if randint(0, 4) == 0: configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") + # Randomly enable BR2_REPRODUCIBLE 10% of times + # also enable tar filesystem images for testing + if randint(0, 10) == 0: + configlines.append("BR2_REPRODUCIBLE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_NONE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_OPTIONS=\"\"\n") + # Write out the configuration file if not os.path.exists(args.outputdir): os.makedirs(args.outputdir)
Signature · 1 line
2.20.1
PATCH 1/1 utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
Quoted 15 lines · Atharva Lele
Initial patch to start reproducibility testing.
Also enable tar filesystem to compare images since diffoscope works well with tar.
Signed-off-by Atharva Lele <[email protected]>--- utils/genrandconfig | 8 ++++++++ 1 file changed, 8 insertions(+)utils/genrandconfig +0
-0
utils/genrandconfig def gen_config(args): · line 375
Quoted 10 lines
utils/genrandconfig +7
-0@@ -366,6 +366,14 @@ def gen_config(args): if randint(0, 4) == 0: configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") + # Randomly enable BR2_REPRODUCIBLE 10% of times + # also enable tar filesystem images for testing + if randint(0, 10) == 0: + configlines.append("BR2_REPRODUCIBLE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_NONE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_OPTIONS=\"\"\n")
Both of these last two lines are the defaults, nobody else is going to set
them, so there's no need to set them explicitly.
Other than that,
[In other words: if you respin the patch according to the feedback I gave, you can add my Reviewed-by tag. But I don't want to add it to this version, that's why it's indented with a space, so patchwork doesn't pick it up.]
Regards,
Arnout
Quoted 5 lines
utils/genrandconfig +1
-0+ # Write out the configuration file if not os.path.exists(args.outputdir): os.makedirs(args.outputdir)
PATCH 1/1 utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
Quoted 1 line
Both of these last two lines are the defaults, nobody else is going to
set
Quoted 1 line
them, so there's no need to set them explicitly.
OK, I'll remove those lines and send a v2.
Regards,
Atharva Lele
Quoted 36 lines · Arnout Vandecappelle
Quoted 15 lines · Atharva Lele
Initial patch to start reproducibility testing.
Also enable tar filesystem to compare images since diffoscope works well with tar.
Signed-off-by Atharva Lele <[email protected]>--- utils/genrandconfig | 8 ++++++++ 1 file changed, 8 insertions(+)utils/genrandconfig +0
-0utils/genrandconfig def gen_config(args): · line 375
Quoted 10 lines
utils/genrandconfig +7
-0@@ -366,6 +366,14 @@ def gen_config(args): if randint(0, 4) == 0: configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") + # Randomly enable BR2_REPRODUCIBLE 10% of times + # also enable tar filesystem images for testing + if randint(0, 10) == 0: + configlines.append("BR2_REPRODUCIBLE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_NONE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR_OPTIONS=\"\"\n")Both of these last two lines are the defaults, nobody else is going to set
them, so there's no need to set them explicitly.Other than that,
Quoted 15 lines
[In other words: if you respin the patch according to the feedback I gave, you
can add my Reviewed-by tag. But I don't want to add it to this version, that's
why it's indented with a space, so patchwork doesn't pick it up.]Regards,
ArnoutQuoted 5 lines
utils/genrandconfig +1
-0+ # Write out the configuration file if not os.path.exists(args.outputdir): os.makedirs(args.outputdir)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190607/1d295498/attachment.html>