Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-08 14:43:27


Bryan Green wrote:

>>
>> 6. I'd surely appreciate a test ;-)
>>
>> Do you think you can adjust the patch per above? Clearly, I'd need to
>> code qu estions
>> to be settled before applying this. I'd very much like test/comment
>> changes too, but if you're out of time we can skip them.
>
> I've created a new patch that I think takes all your suggestions into
> account. I have modified 'example/options_description.cpp' to test it.
> I also added tests to 'test/variable_map_test.cpp', but I don't know how
> to compile/run it.

You basically run "bjam" in the libs/program_options/test folder.

> The new patch has been added to ticket #1131.

I have applied your patch, thanks! There was a minor issue with the
testcase, namely:

        char* cmdline6_[] = { "--imp=1 -m" };

should have being:

        char* cmdline6_[] = { "--imp=1", "-m" };

But otherwise there were no problems.

Thanks,
Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net