You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sketch path can now be specified by folder (path/to/sketch/) or by file (path/to/sketch/sketch.ino) (#690)
* Added test for different cases of sketch path
case 1: /path/to/sketch
case 2: /path/to/sketch/sketch.ino
in the case 2 a compile+upload combo gives the following error:
Error during Upload: cannot open sketch: stat /tmp/pytest-of-megabug/pytest-35/ArduinoTest1/CompileAndUploadIntegrationTest/CompileAndUploadIntegrationTest.ino/CompileAndUploadIntegrationTest.ino.arduino.samd.mkr1000.bin: not a directory
* Fix sketch loading with different kind of input paths
* Added unit-test for sketches module
* Small test fix for Windows
Paths are converted to \ when extracting Parent().
=== RUN TestSketchLoadingFromFolderOrMainFile
testdata/Sketch1 == testdata/Sketch1
testdata\Sketch1 == testdata/Sketch1
0 commit comments