Changeset 865b981 in mainline


Ignore:
Timestamp:
2014-09-19T10:25:39Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
824208bf
Parents:
c85a57f
Message:

Build (but do not include) PCUT tests by default

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    rc85a57f r865b981  
    600600! CONFIG_WRITE_CORE_FILES (n/y)
    601601
    602 % Build userspace unit tests (PCUT)
     602% Include userspace unit tests (PCUT)
    603603! CONFIG_PCUT_TESTS (n/y)
    604604
  • uspace/Makefile

    rc85a57f r865b981  
    231231        lib/usbvirt \
    232232        lib/pcm \
     233        lib/pcut \
    233234        lib/bithenge \
    234235        lib/posix \
    235236        lib/mbr \
    236237        lib/gpt
    237 
    238 ifeq ($(CONFIG_PCUT_TESTS),y)
    239         LIBS += lib/pcut
    240 endif
    241238
    242239LIBC_BUILD = $(addsuffix .build,$(LIBC))
  • uspace/Makefile.common

    rc85a57f r865b981  
    203203
    204204# PCUT-based unit tests
    205 ifeq ($(CONFIG_PCUT_TESTS),y)
    206205ifneq ($(TEST_SOURCES),)
    207206        TEST_OUTPUT = $(TEST_BINARY)
     
    213212endif
    214213        TEST_OUTPUT_LIBS += $(TEST_LIBS)
    215 endif
    216214endif
    217215
     
    357355endif
    358356
    359 ifeq ($(CONFIG_PCUT_TESTS),y)
    360357ifneq ($(TEST_OUTPUT),)
    361358$(TEST_OUTPUT): $(LINKER_SCRIPT) $(TEST_OBJECTS) $(TEST_OUTPUT_LIBS)
     
    365362endif
    366363endif
    367 endif
    368364
    369365%.o: %.S $(DEPEND)
Note: See TracChangeset for help on using the changeset viewer.