Skip to content

Commit 84aace6

Browse files
committedOct 10, 2024·
Fixed chip_testing wheel
1 parent 9c0013b commit 84aace6

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed
 

‎scripts/build_python.sh

+65-65
Original file line numberDiff line numberDiff line change
@@ -77,70 +77,70 @@ file_name=${0##*/}
7777

7878
while (($#)); do
7979
case $1 in
80-
--help | -h)
81-
help
82-
exit 1
83-
;;
84-
--enable_ble | -b)
85-
enable_ble=$2
86-
if [[ "$enable_ble" != "true" && "$enable_ble" != "false" ]]; then
87-
echo "chip_detail_logging should have a true/false value, not '$enable_ble'"
88-
exit
89-
fi
90-
shift
91-
;;
92-
--chip_detail_logging | -d)
93-
chip_detail_logging=$2
94-
if [[ "$chip_detail_logging" != "true" && "$chip_detail_logging" != "false" ]]; then
95-
echo "chip_detail_logging should have a true/false value, not '$chip_detail_logging'"
96-
exit
97-
fi
98-
shift
99-
;;
100-
--chip_mdns | -m)
101-
chip_mdns=$2
102-
shift
103-
;;
104-
--time_between_case_retries | -t)
105-
chip_case_retry_delta=$2
106-
shift
107-
;;
108-
--install_virtual_env | -i)
109-
install_virtual_env=$2
110-
shift
111-
;;
112-
--clean_virtual_env | -c)
113-
clean_virtual_env=$2
114-
if [[ "$clean_virtual_env" != "yes" && "$clean_virtual_env" != "no" ]]; then
115-
echo "clean_virtual_env should have a yes/no value, not '$clean_virtual_env'"
116-
exit
117-
fi
118-
shift
119-
;;
120-
--include_pytest_deps)
121-
install_pytest_requirements=$2
122-
if [[ "$install_pytest_requirements" != "yes" && "$install_pytest_requirements" != "no" ]]; then
123-
echo "install_pytest_requirements should have a yes/no value, not '$install_pytest_requirements'"
124-
exit
125-
fi
126-
shift
127-
;;
128-
--extra_packages)
129-
extra_packages=$2
130-
shift
131-
;;
132-
--pregen_dir | -z)
133-
pregen_dir=$2
134-
shift
135-
;;
136-
--jupyter-lab | -j)
137-
install_jupyterlab=yes
138-
;;
139-
-*)
140-
help
141-
echo "Unknown Option \"$1\""
142-
exit 1
143-
;;
80+
--help | -h)
81+
help
82+
exit 1
83+
;;
84+
--enable_ble | -b)
85+
enable_ble=$2
86+
if [[ "$enable_ble" != "true" && "$enable_ble" != "false" ]]; then
87+
echo "chip_detail_logging should have a true/false value, not '$enable_ble'"
88+
exit
89+
fi
90+
shift
91+
;;
92+
--chip_detail_logging | -d)
93+
chip_detail_logging=$2
94+
if [[ "$chip_detail_logging" != "true" && "$chip_detail_logging" != "false" ]]; then
95+
echo "chip_detail_logging should have a true/false value, not '$chip_detail_logging'"
96+
exit
97+
fi
98+
shift
99+
;;
100+
--chip_mdns | -m)
101+
chip_mdns=$2
102+
shift
103+
;;
104+
--time_between_case_retries | -t)
105+
chip_case_retry_delta=$2
106+
shift
107+
;;
108+
--install_virtual_env | -i)
109+
install_virtual_env=$2
110+
shift
111+
;;
112+
--clean_virtual_env | -c)
113+
clean_virtual_env=$2
114+
if [[ "$clean_virtual_env" != "yes" && "$clean_virtual_env" != "no" ]]; then
115+
echo "clean_virtual_env should have a yes/no value, not '$clean_virtual_env'"
116+
exit
117+
fi
118+
shift
119+
;;
120+
--include_pytest_deps)
121+
install_pytest_requirements=$2
122+
if [[ "$install_pytest_requirements" != "yes" && "$install_pytest_requirements" != "no" ]]; then
123+
echo "install_pytest_requirements should have a yes/no value, not '$install_pytest_requirements'"
124+
exit
125+
fi
126+
shift
127+
;;
128+
--extra_packages)
129+
extra_packages=$2
130+
shift
131+
;;
132+
--pregen_dir | -z)
133+
pregen_dir=$2
134+
shift
135+
;;
136+
--jupyter-lab | -j)
137+
install_jupyterlab=yes
138+
;;
139+
-*)
140+
help
141+
echo "Unknown Option \"$1\""
142+
exit 1
143+
;;
144144
esac
145145
shift
146146
done
@@ -198,7 +198,7 @@ ninja -C "$OUTPUT_ROOT" python_wheels
198198
WHEEL=("$OUTPUT_ROOT"/controller/python/chip*.whl)
199199

200200
# Add the matter_testing_infrastructure wheel
201-
WHEEL+=("$OUTPUT_ROOT"/python/obj/src/python_testing/matter_testing_infrastructure/chip-testing._build_wheel/chip-testing-*.whl)
201+
WHEEL+=("$OUTPUT_ROOT"/python/obj/src/python_testing/matter_testing_infrastructure/chip-testing._build_wheel/chip_testing-*.whl)
202202

203203
if [ -n "$extra_packages" ]; then
204204
WHEEL+=("$extra_packages")

0 commit comments

Comments
 (0)