Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
numba
GitHub Repository: numba/llvmlite
Path: blob/main/buildscripts/incremental/test.sh
1154 views
1
#!/bin/bash
2
3
source activate $CONDA_ENV
4
5
# Make sure any error below is reported as such
6
set -v -e
7
8
# Run test suite
9
10
python --version
11
12
if [ "$OPAQUE_POINTERS" == "yes" ]; then
13
export LLVMLITE_ENABLE_IR_LAYER_TYPED_POINTERS=0
14
echo "Testing with IR layer opaque pointers enabled"
15
else
16
echo "Testing with IR layer opaque pointers disabled"
17
fi
18
19
if [ "$WHEEL" == "yes" ]; then
20
cd dist
21
python -m llvmlite.tests -v
22
elif [ "$DIST_TEST" == "yes" ]; then
23
LLVMLITE_DIST_TEST=1 python runtests.py -v
24
else
25
python runtests.py -v
26
fi
27
28
if [ "$RUN_COVERAGE" == "yes" ]; then coverage run runtests.py; fi
29
30