From b32639d1a8bf8050a3555d0c5daeae2cc210b246 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 --- hipamd/tests/hipify-clang/run_test.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/hipamd/tests/hipify-clang/run_test.bat b/hipamd/tests/hipify-clang/run_test.bat index 5db0cc5043..6eefb7e46e 100644 --- a/hipamd/tests/hipify-clang/run_test.bat +++ b/hipamd/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)