diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-07-12 15:03:28 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-07-13 21:53:36 -0700 |
commit | 9d9f26d8b1a15561af02370f15be0af0d56ac5fa (patch) | |
tree | 3b2d342022f6f33d7560b780b69a56e065de0b48 /sim | |
parent | a879fdb267171e2dfaccd3047dc5ae6d0f4bdc7e (diff) | |
download | gdb-9d9f26d8b1a15561af02370f15be0af0d56ac5fa.zip gdb-9d9f26d8b1a15561af02370f15be0af0d56ac5fa.tar.gz gdb-9d9f26d8b1a15561af02370f15be0af0d56ac5fa.tar.bz2 |
gprofng: 30602 [2.41] gprofng test hangs on i686-linux-gnu
There were several problems in the gprofng testing:
- we did not catch a timeout for each test.
- we used exit() to stop a failed test. But this stops all other tests.
- we used a time_t (long) type in smalltest.c instead of a long long type.
PR gprofng/30602
* configure.ac: Launch only native testing.
* configure: Rebuild.
* testsuite/config/default.exp: Set TEST_TIMEOUT.
* testsuite/gprofng.display/setpath_map.exp: Use return instead of exit.
* testsuite/gprofng.display/gp-archive.exp: Likewise.
* testsuite/gprofng.display/gp-collect-app_F.exp: Likewise.
* testsuite/gprofng.display/display.exp: Delete an unnecessary test
for native testing.
* testsuite/lib/display-lib.exp (run_native_host_cmd): Add timeout.
* testsuite/lib/smalltest.c: Use a long long type instead of time_t.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions