[Boost.test] 1.39 Command line parameter quoting
Hi, We are having a problem under windows where the parameters we pass in are being split up by boost.test's main program. We are using our own test_main to get the parameters off the command line. One of the arguments we parse on our own takes spaces and we quote it with "". When we create our own small c++ main program, the quoted parameter comes through in one piece. With boost.test linked, it's broken into two parameters when passed to test_main. Any way we can solve this? Thanks, Greg
Ping :) Thanks for any help. Greg
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Greg Christopher Sent: Monday, August 09, 2010 10:04 AM To: boost-users@lists.boost.org Subject: [Boost-users] [Boost.test] 1.39 Command line parameter quoting
Hi, We are having a problem under windows where the parameters we pass in are being split up by boost.test's main program. We are using our own test_main to get the parameters off the command line. One of the arguments we parse on our own takes spaces and we quote it with "". When we create our own small c++ main program, the quoted parameter comes through in one piece. With boost.test linked, it's broken into two parameters when passed to test_main.
Any way we can solve this?
Thanks, Greg _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Gennadiy Rozental Sent: Thursday, August 12, 2010 2:13 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Boost.test] 1.39 Command line parameter quoting
Greg Christopher
writes: Ping :) Thanks for any help. Greg
I believe this was addressed in later version of Boost.Test. I recommend you to try trunk version and/or the latest release. In worst case scenario you can back port the changes into your version of boost.test.
We are on 1.42; looks like 1.43 was released may 6. Was this fixed between February and may? Greg
Gennadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Gennadiy Rozental
-
Greg Christopher