Skip to content

Commit d685acf

Browse files
committed
Run pip patching test on SVM only
1 parent 793d608 commit d685acf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_patched_pip.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@
3636
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3737
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3838
# SOFTWARE.
39-
import re
40-
41-
import json
4239
import os
40+
import re
4341
import shutil
4442
import subprocess
4543
import sys

mx.graalpython/mx_graalpython.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ def update_unittest_tags(args):
586586

587587

588588
AOT_INCOMPATIBLE_TESTS = ["test_interop.py", "test_jarray.py", "test_ssl_java_integration.py"]
589+
# These test would work on JVM too, but they are prohibitively slow due to a large amount of subprocesses
590+
AOT_ONLY_TESTS = ["test_patched_pip.py"]
589591

590592
GINSTALL_GATE_PACKAGES = {
591593
"numpy": "numpy",
@@ -879,6 +881,8 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Fa
879881
# list of excluded tests
880882
if aot_compatible:
881883
exclude += AOT_INCOMPATIBLE_TESTS
884+
else:
885+
exclude += AOT_ONLY_TESTS
882886

883887
# just to be able to verify, print C ext mode (also works for CPython)
884888
mx.run([python_binary,

0 commit comments

Comments
 (0)