File: CMakeLists.txt

package info (click to toggle)
lambda-align2 2.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 976 kB
  • sloc: cpp: 6,980; sh: 118; makefile: 42
file content (35 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ===========================================================================
#  Lambda tests
# ===========================================================================

cmake_minimum_required (VERSION 3.0.0)

enable_testing ()
include (CTest)

## only subset of tests
if (LAMBDA_FASTBUILD)
    set (PROGS blastp blastx)
else ()
    set (PROGS blastn blastp blastx tblastn tblastx)
endif ()

## basic indexer tests
foreach(PROG ${PROGS})
    foreach(DI sa fm)
        add_test (NAME test_mkindex_${PROG}_${DI}
                  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/maintests.sh
                          "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" ${PROG} ${DI} "MKINDEX" " ")
    endforeach()
endforeach()

## basic search tests
foreach(PROG ${PROGS})
    foreach(DI sa fm)
        foreach(FF m0 m8 m9 sam bam m9.gz sam.bz2)
            add_test (NAME test_search_${PROG}_${DI}_${FF}
                      COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/maintests.sh
                             "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" ${PROG} ${DI} "SEARCH" ${FF})
        endforeach()
    endforeach()
endforeach()