makefile: Fix test script search function to only return existing files
This commit is contained in:
parent
22ad3706bc
commit
2d586fb72b
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -121,7 +121,7 @@ endif
|
|||
find_exe = $(abspath $(strip $(firstword $(foreach dir,$(strip $(subst :, ,$(PATH))),$(wildcard $(dir)/$(1))))))
|
||||
find_lib = $(abspath $(strip $(firstword $(foreach dir,$(strip $(LIBPATH)),$(wildcard $(dir)/lib$(1).$(LIBEXT))))))
|
||||
find_include = $(abspath $(strip $(firstword $(foreach dir,$(strip $(INCPATH)),$(wildcard $(dir)/$(1).h)))))
|
||||
find_test = $(abspath $(1)/tests/$(2)_test.ini)
|
||||
find_test = $(abspath $(wildcard $(1)/tests/$(2)_test.ini))
|
||||
ifneq ($(findstring Windows,$(OS)),)
|
||||
ifeq ($(findstring .exe,$(SHELL)),.exe)
|
||||
# MinGW
|
||||
|
|
Loading…
Add table
Reference in a new issue