File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -110,12 +110,21 @@ jobs:
110110 RUSTPYTHONPATH : ${{ github.workspace }}/Lib
111111 if : runner.os == 'Linux'
112112 - name : run cpython tests (macOS lightweight)
113- run : target/release/rustpython -m test -x test_argparse -x test_json -x test_bytes -x test_long -v
113+ run :
114+ target/release/rustpython -m test -v -x
115+ test_argparse test_json test_bytes test_bytearray test_long test_unicode test_array
116+ test_asyncgen test_list test_complex test_json test_set test_dis test_calendar
117+ test_importlib
114118 env :
115119 RUSTPYTHONPATH : ${{ github.workspace }}/Lib
116120 if : runner.os == 'macOS'
117121 - name : run cpython tests (windows partial - fixme)
118- run : target/release/rustpython -m test -x test_argparse -x test_json -x test_bytes -x test_long -x test_pwd -x test_bool -x test_cgi -x test_complex -x test_exception_hierarchy -x test_glob -x test_importlib -x test_iter -x test_list -x test_os -x test_pathlib -x test_py_compile -x test_set -x test_shutil -x test_sys -x test_unicode -x test_unittest -x test_venv -x test_zipimport -v
122+ run :
123+ target/release/rustpython -m test -v -x
124+ test_argparse test_json test_bytes test_long test_pwd test_bool test_cgi test_complex
125+ test_exception_hierarchy test_glob test_importlib test_iter test_list test_os
126+ test_pathlib test_py_compile test_set test_shutil test_sys test_unicode test_unittest
127+ test_venv test_zipimport
119128 env :
120129 RUSTPYTHONPATH : ${{ github.workspace }}/Lib
121130 if : runner.os == 'Windows'
Original file line number Diff line number Diff line change 1717assert_raises (FileNotFoundError ,
1818 lambda : os .rename ('DOES_NOT_EXIST' , 'DOES_NOT_EXIST 2' ))
1919
20- if hasattr (os , "sendfile" ):
20+ # sendfile only supports in_fd as non-socket on linux and solaris
21+ if hasattr (os , "sendfile" ) and sys .platform .startswith ("linux" ):
2122 src_fd = os .open ('README.md' , os .O_RDONLY )
2223 dest_fd = os .open ('destination.md' , os .O_RDWR | os .O_CREAT )
2324 src_len = os .stat ('README.md' ).st_size
You can’t perform that action at this time.
0 commit comments