#!/bin/sh

set -eu
cp -r tests "$ADTTMP"
cd "$ADTTMP"

export XDG_RUNTIME_DIR="$ADTTMP"

for python in $(pyversions -i) $(py3versions -i); do
    echo "Testing with $python..."
    dbus-run-session -- $python -m unittest discover -v -s tests
done
