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

CommandLineTest: Produce less verbose output

In one test, `--get-pref` is passed on the commandline to prevent
starting the full GUI. When ran without arguments, `--get-pref` causes
*all* preferences to be printed. Using `--version` achieves the same (no
GUI is started) with just a single line of output.
This commit is contained in:
Matthijs Kooijman 2020-05-06 09:51:42 +02:00 committed by Cristian Maglie
parent 514c4bae57
commit 2c679f2cf4

View File

@ -111,7 +111,7 @@ public class CommandLineTest {
runArduino(true, true, null, new String[] {
"--save-prefs",
"--preferences-file", prefFile.getAbsolutePath(),
"--get-pref", // avoids starting the GUI
"--version", // avoids starting the GUI
});
runArduino(true, true, null, new String[] {