3
0
Fork 0
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:
Leonardo de Moura 2012-10-11 21:06:07 -07:00
parent db8782e7e7
commit 12882f865f
2 changed files with 5 additions and 7 deletions

View file

@ -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)