diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-02 20:27:54 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-04 01:42:41 +0700 |
commit | 7b3dd7b9b3b20cbcf624e85a0d1305c5e3d68663 (patch) | |
tree | 25af0e05e205884a67d4d911859c91b076787430 /ltoptions.m4 | |
parent | 4ce3ba0865ee156be63c3d763f1678cbe57d7dd6 (diff) | |
download | gdb-7b3dd7b9b3b20cbcf624e85a0d1305c5e3d68663.zip gdb-7b3dd7b9b3b20cbcf624e85a0d1305c5e3d68663.tar.gz gdb-7b3dd7b9b3b20cbcf624e85a0d1305c5e3d68663.tar.bz2 |
sim: testsuite: fix cris stat3 in diff setups
This test uses the test itself as an input to stating regular files.
This gets funky though: when we run check in parallel, the output
object dir is the subdir that matches the .exp file. When we run
with -j1, the output object dir is the sim builddir itself.
The old test would append argv[0] to find the file, while the new
test uses basename on it. Each method works in only one of the
aforementioned build scenarios. Rather than complicate this any
more, switch to a different file that we know will always exist:
the Makefile.
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions