xref: /libCEED/python/test-wheel.sh (revision dd8ab4d9aed6d8670d11495d68e790fb4ea5ad64) !
1*dd8ab4d9SJed Brown#!/bin/bash -ex
2*dd8ab4d9SJed Brown
3*dd8ab4d9SJed Brownceed_dir=${1:-.}
4*dd8ab4d9SJed Brownecho "Using CEED_DIR=${ceed_dir}"
5*dd8ab4d9SJed Brown
6*dd8ab4d9SJed Brown#$PYBIN/pip install --upgrade -r requirements-test.txt
7*dd8ab4d9SJed Brown#$PYBIN/pip install libceed --no-index --find-links wheelhouse/
8*dd8ab4d9SJed Brownpushd ${ceed_dir}/python/tests
9*dd8ab4d9SJed Brownpython setup-qfunctions.py build
10*dd8ab4d9SJed Brownpython -m pytest test-*.py --ceed /cpu/self/opt/blocked -vv
11*dd8ab4d9SJed Brownpopd
12