Skip to content

Commit 471f359

Browse files
don't compile unit test libs for integration
1 parent c0112b6 commit 471f359

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ build-test-cpp: build/test/cpptests build/test/build-unit-test-libs
242242
build-test: build-test-cpp build-test-java
243243

244244
build/test/build-unit-test-libs: $(CPP_TEST_LIB_SOURCES)
245+
ifneq ($(RUN_CPP_TESTS),)
245246
@mkdir -p $(TEST_LIB_DIR)
246247
$(CC) -shared -fPIC -o $(TEST_LIB_DIR)/libreladyn.$(SOEXT) test/native/libs/reladyn.c
247248

@@ -256,6 +257,7 @@ ifeq ($(OS_TAG),linux)
256257
$(LD) -shared -o $(TEST_LIB_DIR)/libtwiceatzero.$(SOEXT) $(TEST_LIB_DIR)/twiceatzero.o --section-start=.seg1=0x4000 -z max-page-size=0x1000
257258
endif
258259
@touch $@
260+
endif
259261

260262
build/test/build-integ-test-libs: $(CPP_TEST_LIB_SOURCES)
261263
@mkdir -p $(TEST_LIB_DIR)

0 commit comments

Comments
 (0)