Yet another regression system question

Hi All, Is it possible to use "run" or "link" test types in combination with more than one source (I need this for ODR testing)? If not, how do I define such a test? Thanks, Arkadiy

"Arkadiy Vertleyb" <vertleyb@hotmail.com> writes:
Hi All,
Is it possible to use "run" or "link" test types in combination with more than one source (I need this for ODR testing)?
Yes. run source1.cpp source2.cpp ... ; link source1.cpp source2.cpp ... ; The exact signatures are: rule run ( sources + : args * : input-files * : requirements * : name ? : default-build * : args2 * ) link ( sources + : requirements * : name ? ) So you can control the test name if you don't want it to be the same as the first source. -- Dave Abrahams Boost Consulting www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote
"Arkadiy Vertleyb" <vertleyb@hotmail.com> writes:
Hi All,
Is it possible to use "run" or "link" test types in combination with more than one source (I need this for ODR testing)?
Yes.
run source1.cpp source2.cpp ... ; link source1.cpp source2.cpp ... ;
The exact signatures are:
rule run ( sources + : args * : input-files * : requirements * : name ? : default-build * : args2 * ) link ( sources + : requirements * : name ? )
So you can control the test name if you don't want it to be the same as the first source.
OK, thanks. Regards, Arkadiy
participants (2)
-
Arkadiy Vertleyb
-
David Abrahams