chore(shell/CMakeFiles): enable SMT2 tests
This commit is contained in:
parent
d1d5428808
commit
613a4d6e45
2 changed files with 11 additions and 10 deletions
|
|
@ -4,9 +4,10 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Author: Leonardo de Moura
|
||||
-/
|
||||
namespace smt
|
||||
def array (α β : Type) := α → β
|
||||
universes u v
|
||||
def array (α : Type u) (β : Type v) := α → β
|
||||
|
||||
variables {α β : Type}
|
||||
variables {α : Type u} {β : Type v}
|
||||
open tactic
|
||||
|
||||
def select (a : array α β) (i : α) : β :=
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ FOREACH(T ${LEANTESTS})
|
|||
endif()
|
||||
ENDFOREACH(T)
|
||||
|
||||
# # SMT2 TESTS
|
||||
# SMT2 TESTS
|
||||
# file(GLOB SMT2TESTS "${LEAN_SOURCE_DIR}/../tests/lean/smt2/*.smt2")
|
||||
# FOREACH(T ${SMT2TESTS})
|
||||
# GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
||||
|
|
@ -145,13 +145,13 @@ FOREACH(T ${LEANRUNTESTS})
|
|||
ENDFOREACH(T)
|
||||
|
||||
# SMT2 RUN TESTS
|
||||
# file(GLOB SMT2RUNTESTS "${LEAN_SOURCE_DIR}/../tests/lean/smt2/run/*.smt2")
|
||||
# FOREACH(T ${SMT2RUNTESTS})
|
||||
# GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
||||
# add_test(NAME "smt2runtest_${T_NAME}"
|
||||
# WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lean/smt2/run/"
|
||||
# COMMAND bash "./test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean" ${T_NAME})
|
||||
# ENDFOREACH(T)
|
||||
file(GLOB SMT2RUNTESTS "${LEAN_SOURCE_DIR}/../tests/lean/smt2/run/*.smt2")
|
||||
FOREACH(T ${SMT2RUNTESTS})
|
||||
GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
||||
add_test(NAME "smt2runtest_${T_NAME}"
|
||||
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lean/smt2/run/"
|
||||
COMMAND bash "./test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean" ${T_NAME})
|
||||
ENDFOREACH(T)
|
||||
|
||||
|
||||
# LEAN TESTS using --trust=0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue