Skip to content

Commit 3e91cf3

Browse files
livecodealipeter-b
authored andcommitted
[[ Tests ]] Tweak makefiles to run IDE tests in check target
1 parent cf1d213 commit 3e91cf3

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ check: check-$(guess_platform)
6969

7070
check-common-%:
7171
$(MAKE) -C tests bin_dir=../$*-bin
72+
$(MAKE) -C ide/tests bin_dir=../../$*-bin
7273

7374
################################################################
7475
# Linux rules

tests/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ LCS_ENGINE ?= $(guess_engine)
4444
LCS_ENGINE_FLAGS ?= $(guess_engine_flags)
4545

4646
LCS_LOG = _lcs_test_suite.log
47-
LCS_TESTRUNNER = _testrunner.livecodescript
47+
LCS_TESTRUNNER = $(top_srcdir)/tests/_testrunner.livecodescript
4848

4949
########## LiveCode Builder test parameters
5050

@@ -86,7 +86,9 @@ LCM_TEST_MODULES = $(patsubst %.lcb,$(LCM_DIR)/%.lcm,$(LCM_TEST_SOURCES))
8686

8787
########## Build dependencies rules
8888

89-
include $(LCM_DIR)/deps.mk
89+
ifneq ($(LCM_SOURCES),)
90+
include $(LCM_DIR)/deps.mk
91+
endif
9092

9193
$(LCM_DIR):
9294
mkdir -p $(LCM_DIR)

0 commit comments

Comments
 (0)