RFR: 8323994: gtest runner repeats test name for every single gtest assertion

Sonia Zaldana Calles szaldana at openjdk.org
Wed Jan 24 15:02:46 UTC 2024


If GTest fails multiple times within the same test (for example when EXPECT or ASSERT are used in a subroutine), `GTestResultParser` repeats the failing test multiple times in its report. 

Please refer to the existing issue for an example. 

We only need to see the failing test reported once, so this patch fixes that. 

Let me know your thoughts. 
Cheers, 
Sonia

-------------

Commit messages:
 - 8323994: gtest runner repeats test name for every single gtest assertion

Changes: https://git.openjdk.org/jdk/pull/17489/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17489&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323994
  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17489.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17489/head:pull/17489

PR: https://git.openjdk.org/jdk/pull/17489


More information about the hotspot-runtime-dev mailing list