Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r481115f r0ad0c55  
    2020
    2121if BUILD_CONCURRENCY
    22 concurrent = yes
    23 quick_test += coroutine thread monitor
    24 concurrent_test =               \
    25         coroutine               \
    26         fmtLines                \
    27         pingpong                \
    28         prodcons                \
    29         thread                  \
    30         matrixSum               \
    31         monitor                 \
    32         multi-monitor           \
    33         boundedBuffer           \
    34         preempt                 \
    35         sched-int-block         \
    36         sched-int-disjoint      \
    37         sched-int-wait          \
    38         sched-ext-barge         \
    39         sched-ext-dtor          \
    40         sched-ext-else          \
    41         sched-ext-parse         \
    42         sched-ext-recurse       \
    43         sched-ext-statment      \
    44         sched-ext-when
     22concurrent=
    4523else
    46 concurrent=no
    47 concurrent_test=
     24concurrent='-Econcurrent'
    4825endif
    4926
     
    6239endif
    6340
    64 TEST_FLAGS = $(if $(test), 2> .err/${@}.log, )
     41TEST_FLAGS = $(if $(test), 2> $(test), )
    6542AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS}
    6643CC = @CFA_BINDIR@/@CFA_NAME@
     
    7047
    7148fstream_test_SOURCES = fstream_test.c
    72 fstream_test_CFLAGS = $(if $(test), 2>> .err/fstream_test.log, ) ${BUILD_FLAGS}
     49fstream_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    7350
    7451vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c
    75 vector_test_CFLAGS = $(if $(test), 2>> .err/vector_test.log, ) ${BUILD_FLAGS}
     52vector_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    7653
    7754avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
    78 avl_test_CFLAGS = $(if $(test), 2>> .err/avl_test.log, ) ${BUILD_FLAGS}
     55avl_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    7956
    8057all-local :
    81         @+python test.py --debug=${debug} --concurrent=${concurrent} ${quick_test}
     58        @+python test.py --debug=${debug} ${concurrent} ${quick_test}
    8259
    8360all-tests :
    84         @+python test.py --all --debug=${debug} --concurrent=${concurrent}              # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
     61        @+python test.py --all --debug=${debug} ${concurrent}           # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    8562
    8663clean-local :
     
    8865
    8966list :
    90         @+python test.py --list --concurrent=${concurrent}
     67        @+python test.py --list ${concurrent}
    9168
    9269concurrency :
    93         @+python test.py --debug=${debug} --concurrent=${concurrent} ${concurrent_test}
     70        @+python test.py --debug=${debug} ${concurrent} ${concurrent_test}
    9471
    9572.dummy : .dummy.c @CFA_BINDIR@/@CFA_NAME@
Note: See TracChangeset for help on using the changeset viewer.