Files
OpenCL-CTS/test_conformance
Sven van Haastregt afe4ef8b8f Fix test skipping in math_brute_force (#1475)
Commit 9666ca3c ("[NFC] Fix sign-compare warnings in math_brute_force
(#1467)", 2022-08-23) inadvertently changed the semantics of the if
condition.  The `i > gEndTestNumber` comparison was relying on
`gEndTestNumber` being promoted to unsigned.  When casting `i` to
`int32_t`, this promotion no longer happens and as a result any tests
given on the command line were being skipped.

Use an unsigned type for `gStartTestNumber` and `gEndTestNumber` to
eliminate the casts and any implicit conversions between signed and
unsigned types.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2022-08-24 12:05:01 +01:00
..
2021-05-18 18:12:55 +01:00
2022-01-11 16:52:11 +00:00
2020-07-23 17:21:07 +01:00
2021-09-28 10:19:17 -07:00
2022-01-11 16:52:11 +00:00
2019-07-31 16:00:45 +01:00