|
Boost-Build : |
Subject: [Boost-build] testing an application
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-09-11 16:03:26
Hi,
A while ago I asked something similar with no response. I hope
somebody will know the answer and help me this time.
I would like to incorporate a final sanity checks for the produced executable.
Note I have tons of unit tests in place and I build and run them with
the rules dedicated for that. This is not what I am asking for.
What I need is to execute tests that will validate that everything was
put together correctly.
Say if I have
exe app
:
main.cpp
....
;
How I can do:
say:
execute app : $arg ;
or
unit-test validate-app
:
test_app.cpp
:
<testing.arg>--app_path= ... ; #what that will be resolved to the
location of the app executable
# also something that will make sure that validate-app
# will be executed after app is already built/updated
;
Thanks,
George
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk