From 98a7e887a07d359957347e00876722d7678655c7 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 [ROCm/hip commit: fdc10f085650425fe2a8a25bf22f218489b8f62b] --- projects/hip/tests/hipify-clang/run_test.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/tests/hipify-clang/run_test.bat b/projects/hip/tests/hipify-clang/run_test.bat index 5db0cc5043..6eefb7e46e 100644 --- a/projects/hip/tests/hipify-clang/run_test.bat +++ b/projects/hip/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)