+#! /bin/bash
+
+set -o xtrace
+
+case $1 in
+ PyYAML)
+ echo "Testing $1"
+ python -c "import yaml"
+ EC=$?
+ ;;
+ python3-PyYAML)
+ echo "Testing $1"
+ python3 -c "import yaml"
+ EC=$?
+ ;;
+ PyYAML-debuginfo)
+ echo "Skip tests for $1"
+ EC=0
+ ;;
+ *)
+ echo "Test not defined for $1"
+ EC=1
+ ;;
+esac
+
+exit $EC