libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Test suite changes


From: Rocky Bernstein
Subject: Re: [Libcdio-devel] Test suite changes
Date: Tue, 31 May 2016 21:47:29 -0400

Leon: I tried the change in the cdtext-testing branch and it works great
and simplifies things. There was one program, testpregap,  that was missed
in the conversion. I've taken that single commit from cdtext-testing, sha
e4e394891f08e8ba77a92f29cf2a336ed4bf62a5 and along with the testpregap
change and put that in its own branch:
source-configured-via-compile-switches.

I'll let others try that out branch and review this. If I don't hear
objections in a day or so, I'll merge that into master. Leon: you may want
to pull in that small change from the
source-configured-via-compile-switches branch. On the other hand, since
things work for you, it doesn't matter all that much. Eventually your
branch or the parts you want will be merged back into master and presumably
master will already have that change.

So the omission in cdtext-testing really only affects *others *who may want
to try out that branch, don't have libcdio files stored in the same place
as on your computer, and care about tests.

On Tue, May 31, 2016 at 4:25 PM, Rocky Bernstein <address@hidden> wrote:

> This is a fine idea - thanks. A cursory look and the diffs and it seems
> great and simplifies things. I'll try it out later.
>
> On Tue, May 31, 2016 at 3:32 PM, Leon Merten Lohse <address@hidden>
> wrote:
>
>> Please take a look at the changes to the test suite I proposed in my
>> last commit to the cdtext-testing branch. [1]
>>
>> The sources of the binary tests needed to be generated by the configure
>> script, previously. This was because they need the path of the
>> test/data directory, which was given to them by a configure variable.
>> Since the same task can be achieved by a preprocessor constant, which
>> can be passed with -D to the compiler. This way, the source files can
>> remain static and the configure variable can be evaluated in the
>> Makefile, which needs to generated anyway.
>>
>> I believe this simplifies the testing and the amount of work needed to
>> implement new tests significantly.
>>
>> So far, I could not think of any scenario where this would break but
>> you, Rocky, are far more experienced than I am in these things.
>>
>> Best regards
>> Leon
>>
>>
>> [1]
>>
>> http://git.savannah.gnu.org/gitweb/?p=libcdio.git;a=commit;h=e4e394891f08e8ba77a92f29cf2a336ed4bf62a5
>>
>>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]