[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Running tests with different path for Kyuafiles and binaries ?
I probably have missed something, but I have the following problem.
I am using ATF+Kyua in a project that I am running. Some of the
developers working in the project prefer to keep the sources away from
the built files and, so, create a 'build/' directory and execute the
configure file from this location.
The result for the test framework is that the test binaries will lie in
the $(top_builddir) directory and the Kyuafile will stay in the
I am already running 'kyua test --kyuafile=$(top_srcdir)' from my
Makefile in order to find the Kyuafiles. But, it breaks when I am
Very likely because the '$(top_builddir)' is not replaced by its value.
I also tried to play with configuration variable and to add a
'top_builddir' variable. But, it seems that the variables are just fixed
for once and no extra variable can be added through the configuration file.
Finally, I tried to embed a bit of Lua inside the Kyuafile
(os.execute("echo $(top_builddir)")) with no more success either.
So, I am running a bit out of ideas. Would anybody have a hint to get
this done ? :)
All parts should go together without forcing. You must remember that
the parts you are reassembling were disassembled by you. Therefore,
if you can't get them together again, there must be a reason.
By all means, do not use a hammer.
-- IBM maintenance manual, 1925
Main Index |
Thread Index |