kfdtest: Rename two exception test cases

The old names are not accurate enough and we rename them according to
their corresponding fault types.

Change-Id: Icf4d52ba0ab9d49af5d912a0feb82665b1e8d344
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>


[ROCm/ROCR-Runtime commit: f7c0172385]
Dieser Commit ist enthalten in:
Yong Zhao committed 2019-12-17 19:46:33 -05:00
1 Ursprung 674f8030a5
Commit a67ef3e675
2 Dateien geändert
+9 -9

Keine Dateien entsprechen Ihrer Suche

@@ -114,7 +114,7 @@ queuefail:
}
/* Test Bad Address access in a child process */
TEST_F(KFDExceptionTest, InvalidBadAddress) {
TEST_F(KFDExceptionTest, AddressFault) {
TEST_REQUIRE_ENV_CAPABILITIES(ENVCAPS_64BITLINUX);
TEST_START(TESTPROFILE_RUNALL);
@@ -158,7 +158,7 @@ TEST_F(KFDExceptionTest, InvalidBadAddress) {
/* Allocate Read Only buffer. Test Memory Exception failure by
* attempting to write to that buffer in the child process.
*/
TEST_F(KFDExceptionTest, InvalidWriteAddress) {
TEST_F(KFDExceptionTest, PermissionFault) {
TEST_REQUIRE_ENV_CAPABILITIES(ENVCAPS_64BITLINUX);
TEST_START(TESTPROFILE_RUNALL)