Author: eugene
Date: Thu Sep 28 20:25:25 2017
New Revision: 314488

URL: http://llvm.org/viewvc/llvm-project?rev=314488&view=rev
Log:
Fix Android remote debugging tests running on Windows

Use make based OS check, instad of relying on shell.

Modified:
    
lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile

Modified: 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile?rev=314488&r1=314487&r2=314488&view=diff
==============================================================================
--- 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile 
(original)
+++ 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile 
Thu Sep 28 20:25:25 2017
@@ -12,7 +12,10 @@ a.out: lib_a lib_b lib_c lib_d hidden_li
 
 lib_%:
        $(MAKE) -f $*.mk
-       if [ "$(OS)" = "Darwin" -a -f libloadunload_d.dylib ]; then 
install_name_tool -id @executable_path/libloadunload_d.dylib 
libloadunload_d.dylib; fi
+ifeq ($(OS),Darwin)
+       install_name_tool -id @executable_path/libloadunload_d.dylib 
libloadunload_d.dylib
+endif
+
 
 hidden_lib_d:
        $(MAKE) -C hidden


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to