#!/bin/sh
# autopkgtest check
# (C) 2016 Anton Gladky

set -e

cp examples/linear_elasticity/linear_elastic_interactive.py $AUTOPKGTEST_TMP

cd $AUTOPKGTEST_TMP
export HOME=$PWD

# mayavi is needed for this test and only supports the default interpreter
for py in $(py3versions -d); do
  echo "run: $py"
  xvfb-run $py linear_elastic_interactive.py
  echo "run: OK"
  ls
done
