Unverified Commit 37440f4f authored by prspkt's avatar prspkt
Browse files

testing/py3-typed-ast: fix tests

* Disable failing tests on s390x.
parent 68d8fab3
......@@ -18,12 +18,16 @@ build() {
python3 setup.py build
}
# two (2) tests fail on s390x, disable
check() {
local _pyarch
case "$CARCH" in
x86) _CARCH=i686 ;;
*) _CARCH="$CARCH" ;;
x86_64|aarch64|ppc64le) _pyarch="$CARCH" ;;
x86) _pyarch=i686 ;;
armhf|armv7) _pyarch=armv8l ;;
s390x) return 0 ;;
esac
PYTHONPATH="$builddir/build/lib.linux-$_CARCH-3.7" py.test-3 -v
PYTHONPATH="$builddir/build/lib.linux-$_pyarch-3.7" py.test-3 -v
}
package() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment