[PVFS2-developers] PVFS Request Type testing
Phil Carns
pcarns at wastedcycles.org
Tue Mar 15 17:32:26 EST 2005
I think the module.mk.in file in test/io/job has an example of what you
need. job-help.c builds into an object that a couple of those old tests
need.
You would probably want to use LIBS instead of SERVERLIBS on the build
rule, but other than that I imagine it is nearly the same.
-Phil
Walter B. Ligon III wrote:
> --------
>
> Hey, a couple weeks back I started working on transforming the old debug
> programs we have for the request processor so I can use them for some sort
> of regression testing - which is pretty sorely needed.
>
> What I did initially was write a routine that automatically dumps the
> expected output of the program - so we can visually check it for correctness,
> plus added a little output which identifies what the test was.
>
> What I'm going to do now is convert the dump program to actually compare the
> output to the expected output - and based on a flag either output a one-line
> success/failure or the complete output.
>
> I also want to standardize the programs with some command line args to
> control the level of output and whether it turns on gossip (for actual
> debugging). To do all of this I want to put some routines in a source file
> linked with each of the tests. My problem is I haven't figured out how
> to set up the Makefiles to build that correctly. Basically I want to have
> a file "debug_main.c" and I want all executables debugXX to depend on
> debugXX.o and debug_main.o - where do I put that? I've tried looking at
> the Make stuff and what I thought was obvious didn't work, rather than
> slogg through myself, can one of you tell me?
>
> Walt
More information about the PVFS2-developers
mailing list