mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Fixed z3test.py. Execute z3test.py during Z3Py installation.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
db8782e7e7
commit
12882f865f
2 changed files with 5 additions and 7 deletions
|
@ -1,9 +1,6 @@
|
|||
import z3, doctest
|
||||
import sys, re
|
||||
|
||||
if re.compile("64 bit").search(sys.version):
|
||||
z3.init("..\\x64\\external_64\\z3.dll")
|
||||
else:
|
||||
z3.init("..\\external\\z3.dll")
|
||||
|
||||
doctest.testmod(z3)
|
||||
r = doctest.testmod(z3)
|
||||
if r.failed != 0:
|
||||
exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue