Add validation for --benchmark-samples to prevent crash with zero value (#3056)

* Add validation for --benchmark-samples to prevent crash with zero samples
* Add automated test for benchmark samples validation
* Update baselines for benchmark-samples validation
* Add missing test for benchmark samples validation

---------

Co-authored-by: Chan Aung <chan@Thinkpad.localdomain>
This commit is contained in:
qerasedandChan Aung authored and GitHub committed 2026-01-02 23:15:13 +01:00
1 parent b7e31c9ab3
commit b66b89374e
15 files changed
+238 -12

No files matched your search

@@ -1731,5 +1731,5 @@ due to unexpected exception with message:
===============================================================================
test cases: 436 | 335 passed | 76 failed | 7 skipped | 18 failed as expected
assertions: 2284 | 2106 passed | 136 failed | 42 failed as expected
assertions: 2288 | 2110 passed | 136 failed | 42 failed as expected