diff options
| author | Pietro Monteiro <pietro@sociotechnical.xyz> | 2026-01-30 20:22:49 -0500 |
|---|---|---|
| committer | Pietro Monteiro <pietro@sociotechnical.xyz> | 2026-01-30 20:22:49 -0500 |
| commit | b129ff0880c6d10e0379b46889d01255ee8d1f82 (patch) | |
| tree | e794e68480b3b6381b10760bdc61fcd41b0adf0b /libjava/classpath/resource/gnu/java/util | |
| parent | 7875ee88c301c9bbe6d587a7624b8515900110eb (diff) | |
| download | gcc-b129ff0880c6d10e0379b46889d01255ee8d1f82.zip gcc-b129ff0880c6d10e0379b46889d01255ee8d1f82.tar.gz gcc-b129ff0880c6d10e0379b46889d01255ee8d1f82.tar.bz2 | |
libitm: testsuite: don't include libstdc++ paths in test names [PR69018]
Libitm C++ tests pass -B/full/path/to/build/libstc++/src/.libs on the
options argument to dg-runtest and the libstdc++ include paths as
the default-extra-options. This causes 2 problems:
1) If a test uses `dg-options' then the libstdc++ include paths are
not passed to the compiler.
2) The `-B/full/path/to/build/libstc++/src/.libs' gets added to the
test name. This makes comparing build done in different directories
harder because the hardcoded full path.
Stop passing options and default-extra-options to dg-runtest and move
dealing with the path-releated flags to libitm_target_compile in
libitm.exp, where they are added to additional_flags.
Also change the FSF address to the website in the license text.
libitm/ChangeLog:
PR libitm/69018
* testsuite/lib/libitm.exp (libitm_target_compile): Add
lang_include_flags and `-B${blddir}/${lang_library_paths}' to
additional_flags.
* testsuite/libitm.c++/c++.exp: Set lang_library_paths and lang_include_flags.
Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
Diffstat (limited to 'libjava/classpath/resource/gnu/java/util')
0 files changed, 0 insertions, 0 deletions
