]> git.ipfire.org Git - thirdparty/valgrind.git/commit
iropt-test: Also test with random inputs; reorg the code a bit
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 16 Jul 2025 11:51:15 +0000 (11:51 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 16 Jul 2025 11:51:15 +0000 (11:51 +0000)
commit21bc095a32ad715a5857d11111703a34eca62b79
treea80d790e0c42772be6efedfc2a8645e5b98f833b
parent9000b0e5540c98f80cceb341423d24b1f5200722
iropt-test: Also test with random inputs; reorg the code a bit

New utility functions: get_random_value and get_selected_values
Add command line option -rNUM to specify the number of random tests
per operator.
none/tests/iropt-test/binary.c
none/tests/iropt-test/iropt-test.vgtest
none/tests/iropt-test/main.c
none/tests/iropt-test/unary.c
none/tests/iropt-test/util.c
none/tests/iropt-test/vtest.h