Skip to content

Commit acf496e

Browse files
committed
Allow passing LabeledArrays as commandline options
* Protect from long default values in `--help` output by adding a size limit and manually adding reduced string representation * Use pre-existing to/from JSON conversions to dump and retrieve labeled arrays in command line * Allow passing only values if the labels do not change from defaults * Test options retrieval for the driver and devices
1 parent 04ab677 commit acf496e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Framework/Core/test/test_WorkflowSerialization.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ TEST_CASE("TestVerifyWorkflowSerialization")
3333
ConfigParamSpec{"aFloat", VariantType::Float, 1.3, {"A Float"}}, //
3434
ConfigParamSpec{"aBool", VariantType::Bool, true, {"A Bool"}}, //
3535
ConfigParamSpec{"aString", VariantType::String, "some string", {"A String"}}, //
36-
ConfigParamSpec{"aLabeledArray", VariantType::LabeledArrayInt, labeled, {"A LabeledArray"}}}}, // //
36+
ConfigParamSpec{"aLabeledArray", VariantType::LabeledArrayInt, labeled, {"A LabeledArray"}}}}, //
3737
DataProcessorSpec{"B", //
3838
{InputSpec{"foo", "C", "D"}}, //
3939
{ //

0 commit comments

Comments
 (0)