Always enable API black box unit tests (#7696)
authorAndres Noetzli <andres.noetzli@gmail.com>
Wed, 24 Nov 2021 22:02:05 +0000 (14:02 -0800)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 22:02:05 +0000 (22:02 +0000)
commit7c784424b5ca43d5c35c8ac21b87c2b8ab584b2d
tree9ce3789dac1efd806d6ea7734082c48edfed0410
parent6b370211944a4520876798e4072597092a1a6236
Always enable API black box unit tests (#7696)

Currently, when assertions are disabled, we do not enable any unit
tests. However, we have decided that it would be beneficial to do black
box unit testing of the API even when building cvc5 without assertions,
because the API is user facing. This commit makes the following changes:

- Always enables API black box unit tests
- Adds a test to check whether a buggy version of Clang is being used,
  which prevents the use of `-fno-access-control` for white box tests
- Fixes a spooky variable name in a Python unit test
.github/workflows/ci.yml
CMakeLists.txt
test/CMakeLists.txt
test/api/python/CMakeLists.txt
test/unit/CMakeLists.txt
test/unit/api/python/test_solver.py