[python] [tests] Disable on known-broken arches
Disable the Python binding tests on AArch64, Hexagon and SystemZ
following reports on test failures. The first two yield different
results, possibly indicating test case problems. The last one seems
to have broken FFI in Python.
While at it, refactor the code to make adding future test restrictions
easier.
Differential Revision: https://reviews.llvm.org/D53326
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344666
91177308-0d34-0410-b5e6-
96231b3b80d8