Skip to content

Commit

Permalink
Reapply "DebugInfoD tests + fixing issues exposed by tests (llvm#85693)"
Browse files Browse the repository at this point in the history
This reverts commit 7fc2fbb.
  • Loading branch information
kevinfrei committed Sep 9, 2024
1 parent 6f8d278 commit cc91eff
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion lldb/packages/Python/lldbsuite/test/make/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,31 @@ LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../
# according to variable values).
.DEFAULT_GOAL := all

#----------------------------------------------------------------------
# If OS is not defined, use 'uname -s' to determine the OS name.
#
# GNUWin32 uname gives "windows32" or "server version windows32" while
# some versions of MSYS uname return "MSYS_NT*", but most environments
# standardize on "Windows_NT", so we'll make it consistent here.
# When running tests from Visual Studio, the environment variable isn't
# inherited all the way down to the process spawned for make.
#----------------------------------------------------------------------
ifeq "$(HOST_OS)" ""
HOST_OS := $(shell uname -s)
endif

ifneq (,$(findstring windows32,$(HOST_OS)))
HOST_OS := Windows_NT
endif

ifneq (,$(findstring MSYS_NT,$(HOST_OS)))
HOST_OS := Windows_NT
endif

ifeq "$(OS)" ""
OS := $(HOST_OS)
endif

#----------------------------------------------------------------------
# If OS is Windows, force SHELL to be cmd
#
Expand Down Expand Up @@ -596,7 +621,6 @@ ifeq "$(MAKE_DWP)" "YES"
endif
endif


#----------------------------------------------------------------------
# Make the dylib
#----------------------------------------------------------------------
Expand Down

0 comments on commit cc91eff

Please sign in to comment.