Re: [RFA/testsuite/ada] Put testcase code in own directory

Andrew Cagney
2005-01-20T17:18:29Z

Joel Brobecker wrote:
> Hello,
>
> This implements something I have been thinking about doing for
> a little while. The idea is have the code for each testcase be
> in its own subdirectory. For instance, this change moves the code
> for null_record.exp to the null_record/ subdir.
>
> The reason for this is to avoid name clashes. It is much more common
> in Ada to split the code between several compilation units. The model
> used in C where you usually have one .c file per testcase doesn't
> apply well to Ada.
>
> The framework I'm trying to implement is that we would have one
> .exp file named <testcase>.exp, and have the sources located in
> subdir <testcase>/.

(put on head developer hat)

Yes, ok. And going forward as the testsuite expands to include more
complex multi-file cases this is only going to become more common.

Andrew