summaryrefslogtreecommitdiff
path: root/test/signatures/CMakeLists.txt
blob: aaf05ca93557163ea65eb2c48ab5d19ee28c2081 (plain)
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
36
37
38
39
40
41
42
43
#####################
## CMakeLists.txt
## Top contributors (to current version):
##   Andres Noetzli
## This file is part of the CVC4 project.
## Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
## in the top-level source directory and their institutional affiliations.
## All rights reserved.  See the file COPYING in the top-level source
## directory for licensing information.
##
set(lfsc_test_file_list
  drat_test.plf
  er_test.plf
  example-arrays.plf
  example.plf
  example-quant.plf
  ex_bv.plf
  ex-mem.plf
  lrat_test.plf
  th_lira_test.plf
)

set(test_script ${CMAKE_CURRENT_LIST_DIR}/run_test.py)

macro(lfsc_test file)
  set(test_name "signatures/${file}")
  add_test(
    NAME "${test_name}"
    COMMAND
      "${PYTHON_EXECUTABLE}"
      "${test_script}"
      "${LFSC_BINARY}"
      "${CMAKE_CURRENT_LIST_DIR}/${file}"
      "${CMAKE_SOURCE_DIR}/proofs/signatures"
    WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
  )

  set_tests_properties("${test_name}" PROPERTIES LABELS "signatures")
endmacro()

foreach(file ${lfsc_test_file_list})
  lfsc_test(${file})
endforeach()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback