File: test.sh

package info (click to toggle)
llvmlite 0.44.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,736 kB
  • sloc: python: 12,771; cpp: 3,146; sh: 185; makefile: 183
file content (26 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

source activate $CONDA_ENV

# Make sure any error below is reported as such
set -v -e

# Run test suite

python --version

if [ "$OPAQUE_POINTERS" == "yes" ]; then
    export LLVMLITE_ENABLE_IR_LAYER_TYPED_POINTERS=0
    echo "Testing with IR layer opaque pointers enabled"
else
    echo "Testing with IR layer opaque pointers disabled"
fi

if [ "$WHEEL" == "yes" ]; then
    cd dist
    python -m llvmlite.tests -v
else
    python runtests.py -v
fi

if [ "$RUN_COVERAGE" == "yes" ]; then coverage run runtests.py; fi