File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ TIER1="packages/dart_logging packages/dart_node_core"
3030TIER2=" packages/reflux packages/dart_node_express packages/dart_node_ws packages/dart_node_better_sqlite3 packages/dart_node_mcp packages/dart_node_react_native packages/dart_node_react"
3131TIER3=" examples/frontend examples/markdown_editor examples/reflux_demo/web_counter examples/too_many_cooks"
3232
33+ # Exclusion list (package names to skip)
34+ EXCLUDED=" too_many_cooks too_many_cooks_vscode_extension"
35+
3336# Parse arguments
3437TIER=" "
3538PACKAGES=()
5962 TEST_PATHS=(" ${T1[@]} " " ${T2[@]} " " ${T3[@]} " )
6063fi
6164
65+ # Filter out excluded packages
66+ FILTERED_PATHS=()
67+ for path in " ${TEST_PATHS[@]} " ; do
68+ if ! is_excluded " $path " ; then
69+ FILTERED_PATHS+=(" $path " )
70+ fi
71+ done
72+ TEST_PATHS=(" ${FILTERED_PATHS[@]} " )
73+
6274mkdir -p " $LOGS_DIR "
6375
6476# Helper functions
@@ -68,6 +80,11 @@ is_type() {
6880 [[ " $list " =~ " $name " ]]
6981}
7082
83+ is_excluded () {
84+ local name=$( basename " $1 " )
85+ [[ " $EXCLUDED " =~ " $name " ]]
86+ }
87+
7188calc_coverage () {
7289 local lcov=" $1 "
7390 [[ -f " $lcov " ]] || { echo " 0" ; return ; }
@@ -153,6 +170,7 @@ run_parallel() {
153170
154171# Main
155172echo " Testing ${# TEST_PATHS[@]} packages (MIN_COVERAGE=${MIN_COVERAGE} %)"
173+ echo " Excluded: $EXCLUDED "
156174echo " Logs: $LOGS_DIR /"
157175echo " "
158176
You can’t perform that action at this time.
0 commit comments