You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
206 B
Bash

#!/bin/sh
vdir=`mktemp -d /tmp/test-nvidia.XXXXXX`
virtualenv -p /usr/bin/python3 $vdir
. $vdir/bin/activate
pip3 install -r requirements.txt
python3 test-nvidia
deactivate
rm --preserve-root -rf $vdir