Skip to content

Commit 252cb1d

Browse files
Remove wget dump during CI (#7438)
Add -q quiet option to wget while downloading Arduino to minimize the size of the output log.
1 parent c663c55 commit 252cb1d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/common.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function install_libraries()
140140
pushd $HOME/Arduino/libraries
141141

142142
# install ArduinoJson library
143-
{ test -r ArduinoJson-v6.11.0.zip || wget -nv https://github.com/bblanchon/ArduinoJson/releases/download/v6.11.0/ArduinoJson-v6.11.0.zip; } && unzip -q ArduinoJson-v6.11.0.zip
143+
{ test -r ArduinoJson-v6.11.0.zip || wget -q -nv https://github.com/bblanchon/ArduinoJson/releases/download/v6.11.0/ArduinoJson-v6.11.0.zip; } && unzip -q ArduinoJson-v6.11.0.zip
144144

145145
popd
146146
}
@@ -162,34 +162,34 @@ function install_ide()
162162
mkdir /c/mybin
163163
pushd /c/mybin
164164
# Use Python.org to install python3 and make sure it is in path
165-
wget -nv https://www.python.org/ftp/python/3.8.1/python-3.8.1-embed-win32.zip
165+
wget -q -nv https://www.python.org/ftp/python/3.8.1/python-3.8.1-embed-win32.zip
166166
unzip -q python-3.8.1-embed-win32.zip
167167
cp "python.exe" "python3.exe"
168-
wget -nv -O sed.exe https://github.com/mbuilov/sed-windows/raw/master/sed-4.8-x64.exe
168+
wget -q -nv -O sed.exe https://github.com/mbuilov/sed-windows/raw/master/sed-4.8-x64.exe
169169
#wget -nv https://fossies.org/windows/misc/unz600xn.exe
170170
#unzip -q ./unz600xn.exe
171171
popd
172172
export PATH="c:\\mybin:$PATH" # Ensure it's live from now on...
173173
python3 --version
174174
sed --version
175175
awk --version
176-
test -r arduino-windows.zip || wget -nv -O arduino-windows.zip "${ideurl}-windows.zip"
176+
test -r arduino-windows.zip || wget -q -nv -O arduino-windows.zip "${ideurl}-windows.zip"
177177
unzip -q arduino-windows.zip
178178
mv arduino-${idever} arduino-distrib
179179
elif [ "$MACOSX" = "1" ]; then
180180
# MACOS only has next-to-obsolete Python2 installed. Install Python 3 from python.org
181-
wget https://www.python.org/ftp/python/3.7.4/python-3.7.4-macosx10.9.pkg
181+
wget -q https://www.python.org/ftp/python/3.7.4/python-3.7.4-macosx10.9.pkg
182182
sudo installer -pkg python-3.7.4-macosx10.9.pkg -target /
183183
# Install the Python3 certificates, because SSL connections fail w/o them and of course they aren't installed by default.
184184
( cd "/Applications/Python 3.7/" && sudo "./Install Certificates.command" )
185185
# Hack to place arduino-builder in the same spot as sane OSes
186-
test -r arduino-macos.zip || wget -O arduino-macos.zip "${ideurl}-macosx.zip"
186+
test -r arduino-macos.zip || wget -q -O arduino-macos.zip "${ideurl}-macosx.zip"
187187
unzip -q arduino-macos.zip
188188
mv Arduino.app arduino-distrib
189189
mv arduino-distrib/Contents/Java/* arduino-distrib/.
190190
else
191191
#test -r arduino.tar.xz || wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
192-
test -r arduino-linux.tar.xz || wget -O arduino-linux.tar.xz "${ideurl}-linux64.tar.xz"
192+
test -r arduino-linux.tar.xz || wget -q -O arduino-linux.tar.xz "${ideurl}-linux64.tar.xz"
193193
tar xf arduino-linux.tar.xz
194194
mv arduino-${idever} arduino-distrib
195195
fi

0 commit comments

Comments
 (0)