$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] How to pass additional arguments to a boost test case?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-12-07 05:38:29
Marc Magrans de Abril <marcmagransdeabril <at> gmail.com> writes:
>
>
> Dear colleagues,I would like to pass additional command line
> arguments to a given boost test. For example, if I execute the
> following from the command line:
> mytest.exe --log_level=all --param1=value1 --param2=value2
> then I would like to be able to get param1 and param2 parameters
> inside the test cases
use framework::master_test_suite().argc, framework::master_test_suite().argv
Gennadiy