#!/bin/sh

PYTHON3S=$(py3versions -vr)

BINARIES="ostestr subunit-trace subunit2html"

set -e
echo "===> Running tests"
for i in ${PYTHON3S}; do
  PYMAJOR=`echo $i | cut -d'.' -f1`
  echo "===> Testing with python$i (python$PYMAJOR)"
  PYTHON=python${i} ostestr
done
