From fdc10f085650425fe2a8a25bf22f218489b8f62b Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Wed, 10 Jan 2018 21:03:02 +0300 Subject: [PATCH] [HIPIFY][tests] Add setlocal to batch script --- tests/hipify-clang/run_test.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hipify-clang/run_test.bat b/tests/hipify-clang/run_test.bat index 5db0cc5043..6eefb7e46e 100644 --- a/tests/hipify-clang/run_test.bat +++ b/tests/hipify-clang/run_test.bat @@ -1,4 +1,5 @@ @echo off +setlocal for %%i in (FileCheck.exe) do set FILE_CHECK=%%~$PATH:i if not defined FILE_CHECK (echo Error: FileCheck.exe not found in PATH. && exit /b 1)