Code Review
/
packages
/
centos7
/
PyYAML.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
40918269918e2b7a74dfdc17a7c1ac44ef58f4bb
[packages/centos7/PyYAML.git]
/
runtests.sh
1
#! /bin/bash
2
3
set -o xtrace
4
5
case $1 in
6
PyYAML)
7
echo "Testing $1"
8
python -c "import yaml"
9
EC=$?
10
;;
11
python3-PyYAML)
12
echo "Testing $1"
13
python3 -c "import yaml"
14
EC=$?
15
;;
16
PyYAML-debuginfo)
17
echo "Skip tests for $1"
18
EC=0
19
;;
20
*)
21
echo "Test not defined for $1"
22
EC=1
23
;;
24
esac
25
26
exit $EC