[Dart] Running "make install" as part of the testing process
rendek at loria.fr
rendek at loria.fr
Thu May 29 11:50:30 EDT 2008
Hello,
I'm a long time cmake user, but pretty new to ctest and Dart.
The project I wish to configure Dart for consists in several
libraries. Each library sources being hosted in a separate subdirectory.
For each of these library, we have to separate testsuites. One consist
of unit tests, and only requires the tested library code to compile.
The other is more "blackbox" oriented, and the tests need to be linked
with several libraries of the project.
This is more or less the directory tree I have
root
+ lib1
+ include
+ src
+ testsuite
+ unit
+ Unit1.cxx
+ blackbox
+ BBox.cxx
+ lib2
(same dir. structure)
I have no problem with the unit tests. But the blackbox tests would
require the following sequence:
make
make install
ctest
The blackbox tests are linked with the compiled and installed libraries.
Of course, I could explicitly list the path to each library in the
build directory, but I'd rather not do that. Mainly because my
blackbox tests emulate what a real application would do.
Would it be possible to script the above sequence somehow within darts ?
Thank you for your time,
Jan Rendek
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Dart
mailing list