diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-02-25 19:29:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-10 17:38:08 +0300 |
commit | 5fec5750cf83c020737a6ab3a0d63851a731f1c6 (patch) | |
tree | bd63e9688badd9ffb56a50074a8c8ae76c3413da /tools/rcu | |
parent | 1f4b78e04e886a73f6d4f8e308904d91ec087a06 (diff) | |
download | linux-5fec5750cf83c020737a6ab3a0d63851a731f1c6.tar.xz |
mean_and_variance: Drop always failing tests
[ Upstream commit 97ca7c1f93bbac6982717a7055cd727813c45e61 ]
mean_and_variance_test_2 and mean_and_variance_test_4 always fail.
The input parameters to those tests are identical to the input parameters
to tests 1 and 3, yet the expected result for tests 2 and 4 is different
for the mean and stddev tests. That will always fail.
Expected mean_and_variance_get_mean(mv) == mean[i], but
mean_and_variance_get_mean(mv) == 22 (0x16)
mean[i] == 10 (0xa)
Drop the bad tests.
Fixes: 65bc41090720 ("mean and variance: More tests")
Closes: https://lore.kernel.org/lkml/065b94eb-6a24-4248-b7d7-d3212efb4787@roeck-us.net/
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/rcu')
0 files changed, 0 insertions, 0 deletions