gdb/testsuite/rocm/runtime-core: ensure all or no test run#177
Conversation
e02b7f1 to
04093d6
Compare
|
With the fix I now see the following: Probably need an extra fix to rocr-runtime? |
lumachad
left a comment
There was a problem hiding this comment.
The change itself is OK for me.
would you have the gdb.log with those 2 untested entries I could look at? |
When working on coredump related issue, it was noticed that some runtime changes could work in some conditions but fail in others. The gdb.rocm/runtime-core.exp testcase was not really complaining about that, it would validate the core dumps when produced and skip the test if the core was absent. It is expected that if the system configuration is not adequate, none of the runtime-core cases would run, but if at least one can run, it means all must also run. This test ensures that we run either all or none of the testcase, and issue a FAIL if this property is not satisfied. Change-Id: Ic79b958a0991b21dc1dfeb6bb13b3f292c53261f
04093d6 to
be26f87
Compare
|
Applied suggestions to comments. |
|
@lancesix, can this be merged? |
|
We need to re-trigger CI and see if the tests pass. The previous run skipped rocgdb testing. |
I think so. If I emember correctly, it was help as it could start to issues fails due to some other bug, but should be ok now (otherwise, CI will eventually let me know). |
Actually, this is a corefile test. Se we should validate it locally. |
When working on coredump related issue, it was noticed that some runtime changes could work in some conditions but fail in others. The gdb.rocm/runtime-core.exp testcase was not really complaining about that, it would validate the core dumps when produced and skip the test if the core was absent.
It is expected that if the system configuration is not adequate, none of the runtime-core cases would run, but if at least one can run, it means all must also run.
This test ensures that we run either all or none of the testcase, and issue a FAIL if this property is not satisfied.
Change-Id: Ic79b958a0991b21dc1dfeb6bb13b3f292c53261f