File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ webassembly: $(WEBASSEMBLY_MICROPYTHON)
134134
135135
136136check_unix : $(UNIX_MICROPYTHON ) $(TEST_PY )
137- $(UNIX_MICROPYTHON ) tests/test_all.py
137+ $(UNIX_MICROPYTHON ) tests/test_all.py -test_cnn
138138
139139rp2 : $(PORT_DIR ) $(SRC_ALL ) src/manifest_unix.py
140140 $(MAKE ) -C $(MPY_DIR ) /ports/rp2 V=1 USER_C_MODULES=$(C_MODULES_SRC_PATH ) /micropython.cmake FROZEN_MANIFEST=$(MANIFEST_PATH ) CFLAGS_EXTRA=' -Wno-unused-function -Wno-unused-function' -j4
Original file line number Diff line number Diff line change @@ -40,7 +40,15 @@ def main():
4040
4141 modules = TEST_MODULES
4242 if len (sys .argv ) >= 2 :
43- modules = sys .argv [1 ].split (',' )
43+ config = sys .argv [1 ].split (',' )
44+ skip = [ m [1 :] for m in config if m [0 ] == '-' ]
45+ add = [ m for m in config if m [0 ] != '-' ]
46+ if len (skip ):
47+ modules = [m for m in TEST_MODULES if not m in skip ]
48+ print ('SKIPPING' , skip )
49+ if len (add ):
50+ modules = add
51+ print ('RUN ONLY' , add )
4452
4553 passed = 0
4654 failed = 0
You can’t perform that action at this time.
0 commit comments