]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests/gunit: disable execution with --gtest_shuffle
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 26 May 2025 05:29:47 +0000 (10:59 +0530)
committerKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 13 Aug 2025 11:57:11 +0000 (17:27 +0530)
commit9931a2a9d3a399aab35fa1bb469fcfd1ca4f382b
treee94624189bf10d20da83db8e603f3dd175bc6958
parent1f2d389f93ce7b5e66366a70ace7fc1029e48641
tests/gunit: disable execution with --gtest_shuffle

Some Google tests rely on being run in a specific order, with certain
tests depending on the successful completion of previous ones. Passing
the --gtest_shuffle option can break this sequence, potentially leading
to test failures or inconsistent results.

Until the test suite is updated to support randomized execution, skip
running tests when --gtest_shuffle is used.

Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
tests/gunit/gtest.cpp