| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | cp Cheetah/Tests/Test.py "$AUTOPKGTEST_TMP" |
| 6 | |
| 7 | # create symlinks, upstream code isn't aware of the util renaming used to |
| 8 | # prevent filename collision between python-cheetah and python3-cheetah |
| 9 | ln -s /usr/bin/cheetah-analyze3 /usr/bin/cheetah-analyze |
| 10 | ln -s /usr/bin/cheetah-compile3 /usr/bin/cheetah-compile |
| 11 | ln -s /usr/bin/cheetah3 /usr/bin/cheetah |
| 12 | |
| 13 | for py in $(py3versions -s 2>/dev/null); do |
| 14 | cd "$AUTOPKGTEST_TMP" |
| 15 | echo "Running upstream Test.py with $py:" |
| 16 | $py Test.py |
| 17 | done |