1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-19 08:52:15 +01:00

CommandLineTest: Print commands being ran

This makes the test output a bit more easier to read.
This commit is contained in:
Matthijs Kooijman 2020-05-06 10:55:40 +02:00 committed by Cristian Maglie
parent 2c679f2cf4
commit 2bd7be07fe

View File

@ -83,6 +83,8 @@ public class CommandLineTest {
args.add(arduinoPath.getAbsolutePath());
args.addAll(Arrays.asList(extraArgs));
System.out.println("Running: " + String.join(" ", args));
Process pr = rt.exec(args.toArray(new String[0]), null, wd);
if (output) {
IOUtils.copy(pr.getInputStream(), System.out);