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

set -e

cp sfepy/examples/large_deformation/hyperelastic.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"
  $py hyperelastic.py
  echo "run: OK"
  ls
done
