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
* Add newLines to usage-information
Closes: #116
* group flags in usage-text by functionality
make sure that the lines are no longer than 80chars
and fix some typos
* Use ISO-8601 as the time-format for logfiles
Related: #117
* Allow specifying the output-filename
Closes: #117
* Print "SUCCESS" after successully validating a plugin
Closes: #118
<< " Validate plugins to test compatibility with hosts and verify plugin API conformance" << newLine << newLine
324
330
<< "Usage: "
325
331
<< newLine
332
+
// commands
333
+
<< " --version" << newLine
334
+
<< " Print pluginval version." << newLine
326
335
<< " --validate [pathToPlugin]" << newLine
327
336
<< " Validates the plugin at the given path." << newLine
328
-
<< " N.B. the --validate flag is optional if the path is the last argument. This enables you to validate a plugin with simply \"pluginval path_to_plugin\"." << newLine
329
-
<< " --strictness-level [1-10]" << newLine
330
-
<< " Sets the strictness level to use. A minimum level of 5 (also the default) is recomended for compatibility. Higher levels include longer, more thorough tests such as fuzzing." << newLine
337
+
<< " N.B. the \"--validate\" flag is optional if the path is the last argument." << newLine
338
+
<< " This enables you to validate a plugin with simply \"pluginval path_to_plugin\"." << newLine
<< " If specified, sets the list of block sizes at which tests will be executed" << newLine
346
+
<< " (default=64,128,256,512,1024)" << newLine
331
347
<< " --random-seed [hex or int]" << newLine
332
-
<< " Sets the random seed to use for the tests. Useful for replicating test environments." << newLine
348
+
<< " Sets the random seed to use for the tests. Useful for replicating test" << newLine
349
+
<< " environments." << newLine
350
+
<< " --data-file [pathToFile]" << newLine
351
+
<< " If specified, sets a path to a data file which can be used by tests to" << newLine
352
+
<< " configure themselves. This can be useful for things like known audio output." << newLine
353
+
<< newLine
354
+
// how to test
355
+
<< " --strictness-level [1-10]" << newLine
356
+
<< " Sets the strictness level to use. A minimum level of 5 (also the default)" << newLine
357
+
<< " is recomended for compatibility." << newLine
358
+
<< " Higher levels include longer, more thorough tests such as fuzzing." << newLine
333
359
<< " --timeout-ms [numMilliseconds]" << newLine
334
-
<< " Sets a timout which will stop validation with an error if no output from any test has happened for this number of ms." << newLine
360
+
<< " Sets a timout which will stop validation with an error if no output from any" << newLine
361
+
<< " test has happened for this number of ms." << newLine
335
362
<< " By default this is 30s but can be set to -1 to never timeout." << newLine
336
-
<< " --verbose" << newLine
337
-
<< " If specified, outputs additional logging information. It can be useful to turn this off when building with CI to avoid huge log files." << newLine
338
-
<< " --skip-gui-tests" << newLine
339
-
<< " If specified, avoids tests that create GUI windows, which can cause problems on headless CI systems." << newLine
363
+
<< newLine
364
+
// repeating tests
340
365
<< " --repeat [num repeats]" << newLine
341
-
<< " If specified repeats the tests a given number of times. Note that this does not delete and re-instantiate the plugin for each repeat."
366
+
<< " If specified repeats the tests a given number of times. Note that this does" << newLine
367
+
<< " not delete and re-instantiate the plugin for each repeat." << newLine
342
368
<< " --randomise" << newLine
343
-
<< " If specified the tests are run in a random order per repeat."
344
-
<< " --data-file [pathToFile]" << newLine
345
-
<< " If specified, sets a path to a data file which can be used by tests to configure themselves. This can be useful for things like known audio output." << newLine
346
-
<< " --output-dir [pathToDir]" << newLine
347
-
<< " If specified, sets a directory to store the log files. This can be useful for continuous integration." << newLine
369
+
<< " If specified, the tests are run in a random order per repeat." << newLine
370
+
<< newLine
371
+
// test selection
372
+
<< " --skip-gui-tests" << newLine
373
+
<< " If specified, avoids tests that create GUI windows, which can cause problems" << newLine
374
+
<< " on headless CI systems." << newLine
348
375
<< " --disabled-tests [pathToFile]" << newLine
349
-
<< " If specified, sets a path to a file that should have the names of disabled tests on each row." << newLine
0 commit comments