[Lldb-commits] [lldb] r314488 - Fix Android remote debugging tests running on Windows

Eugene Zemtsov via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 28 20:25:25 PDT 2017


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




More information about the lldb-commits mailing list