File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 5454 )
5555 subprocess .run (unit_test_args , check = True )
5656
57+ match args .platform :
58+ case "all" :
59+ plat_args = []
60+ case "native" :
61+ plat_args = ["-m not pyodide" , "-m not android" , "-m not ios" ]
62+ case platform :
63+ plat_args = [f"-m { platform } " ]
64+
5765 # Run the serial integration tests without multiple processes
5866 serial_integration_test_args = [
5967 sys .executable ,
6068 "-m" ,
6169 "pytest" ,
62- "-m" ,
63- "serial" ,
70+ "-m serial " ,
71+ * plat_args ,
6472 "-x" ,
6573 "--durations" ,
6674 "0" ,
6775 "--timeout=2400" ,
6876 "test" ,
6977 "-vv" ,
7078 ]
71- match args .platform :
72- case "all" :
73- pass
74- case "native" :
75- serial_integration_test_args += ["-m not pyodide" , "-m not android" , "-m not ios" ]
76- case platform :
77- serial_integration_test_args += [f"-m { platform } " ]
7879
7980 print (
8081 "\n \n =========================== SERIAL INTEGRATION TESTS ===========================" ,
8788 sys .executable ,
8889 "-m" ,
8990 "pytest" ,
90- "-m" ,
91- "not serial" ,
91+ "-m not serial " ,
92+ * plat_args ,
9293 f"--numprocesses={ args .num_processes } " ,
9394 "-x" ,
9495 "--durations" ,
You can’t perform that action at this time.
0 commit comments