@@ -174,61 +174,61 @@ def test_compile_blacklisted_sketchname(run_command, data_dir):
174
174
assert result .ok
175
175
176
176
177
- def test_compile_without_precompiled_libraries (run_command , data_dir ):
178
- # Init the environment explicitly
179
- url = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
180
- result = run_command ("core update-index --additional-urls={}" .format (url ))
181
- assert result .ok
182
- # arduino:mbed 1.1.5 is incompatible with the Arduino_TensorFlowLite library
183
- # see: https://github.com/arduino/ArduinoCore-nRF528x-mbedos/issues/93
184
- result = run_command ("core install arduino:mbed@1.1.4 --additional-urls={}" .format (url ))
185
- assert result .ok
186
- result = run_command ("core install arduino:samd@1.8.7 --additional-urls={}" .format (url ))
187
- assert result .ok
188
- result = run_command ("core install adafruit:samd@1.6.0 --additional-urls={}" .format (url ))
189
- assert result .ok
190
-
191
- # Install pre-release version of Arduino_TensorFlowLite (will be officially released
192
- # via lib manager after https://github.com/arduino/arduino-builder/issues/353 is in)
193
- import zipfile
194
-
195
- with zipfile .ZipFile ("test/testdata/Arduino_TensorFlowLite.zip" , "r" ) as zip_ref :
196
- zip_ref .extractall ("{}/libraries/" .format (data_dir ))
197
- result = run_command ("lib install Arduino_LSM9DS1@1.1.0" )
198
- assert result .ok
199
- result = run_command (
200
- "compile -b arduino:mbed:nano33ble {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/" .format (data_dir )
201
- )
202
- assert result .ok
203
- result = run_command (
204
- "compile -b adafruit:samd:adafruit_feather_m4 {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/" .format (
205
- data_dir
206
- )
207
- )
208
- assert result .ok
209
-
210
- # Non-precompiled version of Arduino_TensorflowLite
211
- result = run_command ("lib install Arduino_TensorflowLite@1.15.0-ALPHA" )
212
- assert result .ok
213
- result = run_command (
214
- "compile -b arduino:mbed:nano33ble {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/" .format (data_dir )
215
- )
216
- assert result .ok
217
- result = run_command (
218
- "compile -b adafruit:samd:adafruit_feather_m4 {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/" .format (
219
- data_dir
220
- )
221
- )
222
- assert result .ok
223
-
224
- # Bosch sensor library
225
- result = run_command ('lib install "BSEC Software Library@1.5.1474"' )
226
- assert result .ok
227
- result = run_command (
228
- "compile -b arduino:samd:mkr1000 {}/libraries/BSEC_Software_Library/examples/basic/" .format (data_dir )
229
- )
230
- assert result .ok
231
- result = run_command (
232
- "compile -b arduino:mbed:nano33ble {}/libraries/BSEC_Software_Library/examples/basic/" .format (data_dir )
233
- )
234
- assert result .ok
177
+ # def test_compile_without_precompiled_libraries(run_command, data_dir):
178
+ # # Init the environment explicitly
179
+ # url = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
180
+ # result = run_command("core update-index --additional-urls={}".format(url))
181
+ # assert result.ok
182
+ # # arduino:mbed 1.1.5 is incompatible with the Arduino_TensorFlowLite library
183
+ # # see: https://github.com/arduino/ArduinoCore-nRF528x-mbedos/issues/93
184
+ # result = run_command("core install arduino:mbed@1.1.4 --additional-urls={}".format(url))
185
+ # assert result.ok
186
+ # result = run_command("core install arduino:samd@1.8.7 --additional-urls={}".format(url))
187
+ # assert result.ok
188
+ # result = run_command("core install adafruit:samd@1.6.0 --additional-urls={}".format(url))
189
+ # assert result.ok
190
+
191
+ # # Install pre-release version of Arduino_TensorFlowLite (will be officially released
192
+ # # via lib manager after https://github.com/arduino/arduino-builder/issues/353 is in)
193
+ # import zipfile
194
+
195
+ # with zipfile.ZipFile("test/testdata/Arduino_TensorFlowLite.zip", "r") as zip_ref:
196
+ # zip_ref.extractall("{}/libraries/".format(data_dir))
197
+ # result = run_command("lib install Arduino_LSM9DS1@1.1.0")
198
+ # assert result.ok
199
+ # result = run_command(
200
+ # "compile -b arduino:mbed:nano33ble {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/".format(data_dir)
201
+ # )
202
+ # assert result.ok
203
+ # result = run_command(
204
+ # "compile -b adafruit:samd:adafruit_feather_m4 {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/".format(
205
+ # data_dir
206
+ # )
207
+ # )
208
+ # assert result.ok
209
+
210
+ # # Non-precompiled version of Arduino_TensorflowLite
211
+ # result = run_command("lib install Arduino_TensorflowLite@1.15.0-ALPHA")
212
+ # assert result.ok
213
+ # result = run_command(
214
+ # "compile -b arduino:mbed:nano33ble {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/".format(data_dir)
215
+ # )
216
+ # assert result.ok
217
+ # result = run_command(
218
+ # "compile -b adafruit:samd:adafruit_feather_m4 {}/libraries/Arduino_TensorFlowLite/examples/magic_wand/".format(
219
+ # data_dir
220
+ # )
221
+ # )
222
+ # assert result.ok
223
+
224
+ # # Bosch sensor library
225
+ # result = run_command('lib install "BSEC Software Library@1.5.1474"')
226
+ # assert result.ok
227
+ # result = run_command(
228
+ # "compile -b arduino:samd:mkr1000 {}/libraries/BSEC_Software_Library/examples/basic/".format(data_dir)
229
+ # )
230
+ # assert result.ok
231
+ # result = run_command(
232
+ # "compile -b arduino:mbed:nano33ble {}/libraries/BSEC_Software_Library/examples/basic/".format(data_dir)
233
+ # )
234
+ # assert result.ok
0 commit comments