Fix the case where the ending path suffix-like part (separated by a dot) was overwritten by a pattern filename extension. For example, without these changes, the test_example[with.dot] node ID is incorrectly transformed to the test_example[with.out filename. Tests with parameters, suffixes, and custom pattern filenames are affected by that.
Changes in this PR
Fix the case where the ending path suffix-like part (separated by a dot) was overwritten by a pattern filename extension. For example, without these changes, the
test_example[with.dot]
node ID is incorrectly transformed to thetest_example[with.out
filename. Tests with parameters, suffixes, and custom pattern filenames are affected by that.