@@ -1172,6 +1172,7 @@ def graalpython_gate_runner(args, tasks):
1172
1172
"test_csv.py" ,
1173
1173
"test_ctypes_callbacks.py" , # ctypes error
1174
1174
"test_imports.py" , # import posix
1175
+ "test_locale.py" ,
1175
1176
"test_math.py" ,
1176
1177
"test_memoryview.py" ,
1177
1178
"test_mmap.py" , # sys.getwindowsversion
@@ -1224,7 +1225,7 @@ def graalpython_gate_runner(args, tasks):
1224
1225
excluded_tests = []
1225
1226
1226
1227
# JUnit tests
1227
- with Task ('GraalPython JUnit' , tasks , tags = [GraalPythonTags .junit ]) as task :
1228
+ with Task ('GraalPython JUnit' , tasks , tags = [GraalPythonTags .junit , GraalPythonTags . windows ]) as task :
1228
1229
if task :
1229
1230
if WIN32 :
1230
1231
punittest (
@@ -1303,7 +1304,7 @@ def graalpython_gate_runner(args, tasks):
1303
1304
run_tagged_unittests (python_managed_gvm (), checkIfWithGraalPythonEE = True , cwd = SUITE .dir , report = report ())
1304
1305
1305
1306
# Unittests on SVM
1306
- with Task ('GraalPython tests on SVM' , tasks , tags = [GraalPythonTags .svmunit ]) as task :
1307
+ with Task ('GraalPython tests on SVM' , tasks , tags = [GraalPythonTags .svmunit , GraalPythonTags . windows ]) as task :
1307
1308
if task :
1308
1309
run_python_unittests (python_svm (), exclude = excluded_tests , aot_compatible = True , report = report ())
1309
1310
@@ -1378,20 +1379,6 @@ def graalpython_gate_runner(args, tasks):
1378
1379
if "hello standalone" not in out .data :
1379
1380
mx .abort ('Output from generated SVM image "' + svm_image + '" did not match success pattern:\n ' + success )
1380
1381
1381
- with Task ('GraalPy win32 smoketests' , tasks , tags = [GraalPythonTags .windows ]) as task :
1382
- if task :
1383
- punittest (["--no-leak-tests" , "--regex" , r'(com\.oracle\.truffle\.tck\.tests)|(graal\.python\.test\.(advance\.Benchmark|basic|builtin|decorator|generator|interop|util))' ], report = True )
1384
- svm_image = python_svm ()
1385
- out = mx .OutputCapture ()
1386
- mx .run ([svm_image , "-v" , "-S" , "--log.python.level=FINEST" , "-c" , "import sys; print(sys.platform)" ], nonZeroIsFatal = True , out = mx .TeeOutputCapture (out ), err = mx .TeeOutputCapture (out ))
1387
- success = "\n " .join (["win32" ])
1388
- if success not in out .data :
1389
- mx .abort (f'Output from generated SVM image "{ svm_image } " did not match success pattern:\n Expected\n { success } \n Got\n { out .data } ' )
1390
- mx .run ([svm_image , "--experimental-options" , "--python.NativeModules=" , "-c" , "import struct; print(struct.pack('>I', 0x61626364))" ], nonZeroIsFatal = True , out = mx .TeeOutputCapture (out ), err = mx .TeeOutputCapture (out ))
1391
- success = "b'abcd'"
1392
- if success not in out .data :
1393
- mx .abort (f'Output from generated SVM image "{ svm_image } " did not match success pattern:\n Expected\n { success } \n Got\n { out .data } ' )
1394
-
1395
1382
with Task ('Python SVM Truffle TCK' , tasks , tags = [GraalPythonTags .language_checker ], report = True ) as task :
1396
1383
if task :
1397
1384
mx .run_mx ([
0 commit comments