From: Aleksander Swiniarski Date: Fri, 7 Jun 2024 09:37:01 +0000 (+0200) Subject: [riscv64][filesystem] Check for the riscv64 architecture in tct-filesystem-tizen... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=992f7d407e5e4f2626e82da2e1483365eedf1f5c;p=test%2Ftct%2Fweb%2Fapi.git [riscv64][filesystem] Check for the riscv64 architecture in tct-filesystem-tizen-tests tests The following tests: * FileHandle_readBlobNonBlocking_InvalidValuesError * FileHandle_readBlob_InvalidValuesError * FileHandle_readDataNonBlocking_InvalidValuesError * FileHandle_readData_InvalidValuesError * FileHandle_readStringNonBlocking_InvalidValuesError * FileHandle_readString_InvalidValuesError Are checking at the beginning for the 64 bit architectures. As the riscv64 is the new 64 bit architecture it should also be accounted for. Change-Id: I49555fb9f7c65beb916b27673f1094d4048ca3a5 Signed-off-by: Aleksander Swiniarski --- diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html index 7a7eb8b4f..52b87f690 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlobNonBlocking_InvalidValuesError.html @@ -42,7 +42,7 @@ var t = async_test(document.title), writeBlobNonBlockingSuccess, writeBlobNonBlo t.step(function () { arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { add_result_callback(function () { try { tizen.filesystem.deleteFile("documents/file"); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html index 8734a96fe..df4d46249 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readBlob_InvalidValuesError.html @@ -37,7 +37,7 @@ Authors: test(function () { var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { var fileHandleWrite, blob, fileHandleRead, content = "Lorem ipsum dolor sit amet..."; add_result_callback(function () { diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html index 7bfcb6940..80e19ebbb 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readDataNonBlocking_InvalidValuesError.html @@ -40,7 +40,7 @@ var t = async_test(document.title), dataToWrite = new Uint8Array([11, 21, 31, 71 t.step(function () { arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { add_result_callback(function () { try { tizen.filesystem.deleteFile("documents/file"); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html index 699600876..4f9134362 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readData_InvalidValuesError.html @@ -37,7 +37,7 @@ Authors: test(function () { var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { var dataToWrite = new Uint8Array([11, 21, 31, 71, 81, 91]), fileHandleWrite, fileHandleRead; add_result_callback(function () { diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html index 925096b79..4faa2502d 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readStringNonBlocking_InvalidValuesError.html @@ -40,7 +40,7 @@ var t = async_test(document.title), readStringNonBlockingSuccess, readStringNonB t.step(function () { arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { add_result_callback(function () { try { fileHandle.close(); diff --git a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html index d0dabc10f..68e034f85 100755 --- a/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html +++ b/common/tct-filesystem-tizen-tests/filesystem/FileHandle_readString_InvalidValuesError.html @@ -37,7 +37,7 @@ Authors: test(function () { var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch"); - if (arch !== "aarch64" && arch !== "armv8") { + if (arch !== "aarch64" && arch !== "armv8" && arch !== "riscv64") { var fileHandleWrite, fileHandleRead, fileContents, content = "Lorem ipsum dolor sit amet..."; add_result_callback(function () {