From 3de5abddce3e5426aedf89e18138e98a2e0f91da Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Fri, 31 Aug 2018 18:36:56 +0900 Subject: [PATCH] [NUI][Non-ACR][Update TCT for NUI] Modify backend type setting Change-Id: Ie3fa4ef3085958a6d20b51e760c61d994917cecd Signed-off-by: huiyu.eun --- tct-suite-vs/Tizen.NUI.Tests/Program.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/Program.cs b/tct-suite-vs/Tizen.NUI.Tests/Program.cs index e718595..e9a7437 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/Program.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/Program.cs @@ -33,14 +33,9 @@ namespace Tizen.NUI.Test private static Graphics.BackendType GraphicsBackend() { - String DALI_VULKAN_BACKEND = "0"; - DALI_VULKAN_BACKEND = Environment.GetEnvironmentVariable("DALI_VULKAN_BACKEND"); + String DALI_VULKAN_BACKEND = Environment.GetEnvironmentVariable("DALI_VULKAN_BACKEND"); int numVal = 0; - - if(DALI_VULKAN_BACKEND == "0" || DALI_VULKAN_BACKEND == "1") - numVal = Int32.Parse(DALI_VULKAN_BACKEND); - - Log.Fatal("NUI", "DALI_VULKAN_BACKEND : " + numVal); + Int32.TryParse(DALI_VULKAN_BACKEND, out numVal); if ((Graphics.BackendType)numVal == Graphics.BackendType.Gles) { -- 2.7.4