| 1 |
#!/bin/sh |
| 2 |
# Script to run tests |
| 3 |
|
| 4 |
# Set the following environment variables to build libyal with gettext. |
| 5 |
export CPPFLAGS="-I/usr/local/include -I/usr/local/opt/gettext/include ${CPPFLAGS}"; |
| 6 |
export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/gettext/lib ${LDFLAGS}"; |
| 7 |
|
| 8 |
# Set the following environment variables to build pycrypto and yara-python. |
| 9 |
export CPPFLAGS="-I/usr/local/opt/[email protected]/include ${CPPFLAGS}"; |
| 10 |
export LDFLAGS="-L/usr/local/opt/[email protected]/lib ${LDFLAGS}"; |
| 11 |
|
| 12 |
# Set the following environment variables to ensure tox can find Python 3.11. |
| 13 |
export PATH="/usr/local/opt/[email protected]/bin:${PATH}"; |
| 14 |
|
| 15 |
tox -e py311 |