@@ -56,7 +56,7 @@ func TestGetCommandLine(t *testing.T) {
56
56
fmt .Sprintf (" %s/arduino-test/tools/openocd/0.10.0-arduino7/bin/openocd%s" , dataDir , toolExtension ) +
57
57
fmt .Sprintf (" -s \" %s/arduino-test/tools/openocd/0.10.0-arduino7/share/openocd/scripts/\" " , dataDir ) +
58
58
fmt .Sprintf (" --file \" %s/arduino-test/samd/variants/arduino_zero/openocd_scripts/arduino_zero.cfg\" " , customHardware ) +
59
- fmt .Sprintf (" -c \" gdb_port pipe\" -c \" telnet_port 0\" -c init -c halt %s/hello. arduino-test.samd.arduino_zero_edbg.elf" , sketchPath )
59
+ fmt .Sprintf (" -c \" gdb_port pipe\" -c \" telnet_port 0\" -c init -c halt %s/build/ arduino-test.samd.arduino_zero_edbg/hello.ino .elf" , sketchPath )
60
60
61
61
command , err := getCommandLine (req , pm )
62
62
assert .Nil (t , err )
@@ -77,7 +77,7 @@ func TestGetCommandLine(t *testing.T) {
77
77
fmt .Sprintf (" %s/arduino-test/tools/openocd/0.10.0-arduino7/bin/openocd%s" , dataDir , toolExtension ) +
78
78
fmt .Sprintf (" -s \" %s/arduino-test/tools/openocd/0.10.0-arduino7/share/openocd/scripts/\" " , dataDir ) +
79
79
fmt .Sprintf (" --file \" %s/arduino-test/samd/variants/mkr1000/openocd_scripts/arduino_zero.cfg\" " , customHardware ) +
80
- fmt .Sprintf (" -c \" gdb_port pipe\" -c \" telnet_port 0\" -c init -c halt %s/hello. arduino-test.samd.mkr1000.elf" , sketchPath )
80
+ fmt .Sprintf (" -c \" gdb_port pipe\" -c \" telnet_port 0\" -c init -c halt %s/build/ arduino-test.samd.mkr1000/hello.ino .elf" , sketchPath )
81
81
82
82
command2 , err := getCommandLine (req2 , pm )
83
83
assert .Nil (t , err )
0 commit comments