Changeset 73f7c4e in mainline for uspace/srv/sysman/Makefile


Ignore:
Timestamp:
2019-08-06T18:29:02Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
c2d50c8
Parents:
c1b2084
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-24 09:32:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:29:02)
Message:

sysman: Create tests for job control

  • units are mocked by patching virtual methods table
  • sysman_process_queue to enforce emptying event queue

Conflicts:

.bzrignore
boot/Makefile.common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/Makefile

    rc1b2084 r73f7c4e  
    3737STATIC_NEEDED = y
    3838
    39 SOURCES = \
     39SYSMAN_SOURCES = \
    4040        configuration.c \
    4141        connection_broker.c \
     
    4343        dep.c \
    4444        job.c \
    45         main.c \
    4645        sysman.c \
    4746        unit.c \
     
    5251        util.c
    5352
     53SOURCES = \
     54        main.c \
     55        $(SYSMAN_SOURCES)
     56
     57TEST_SOURCES = \
     58        $(SYSMAN_SOURCES) \
     59        test/job_closure.c \
     60        test/job_queue.c \
     61        test/mock_unit.c \
     62        test/main.c
     63
    5464include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.