Re: [LTP] [PATCH 2/6] sched_football: Use atomic for ball

John Stultz via ltp
2024-06-25T20:21:04Z

On Mon, Jun 24, 2024 at 8:15 PM Li Wang <liwang@redhat.com> wrote:
> On Tue, Jun 25, 2024 at 8:05 AM John Stultz via ltp <ltp@lists.linux.it> wrote:
>> Hey Cyril!
>>
>> I went to take a stab at this, but the master branch on
>> https://github.com/linux-test-project/ltp.git doesn't seem to build:
>> $ ./configure --with-realtime-testsuite
>> $ make -j > /dev/null
>> make[3]: *** No rule to make target 'Makefile.am', needed by
>> 'Makefile.in'. Stop.
>> make[2]: *** [../../include/mk/generic_trunk_target.inc:108: all] Error 2
>> make[1]: *** [../include/mk/generic_trunk_target.inc:108: all] Error 2
>> make: *** [Makefile:85: testcases-all] Error 2
>>
>> Bisecting points to commit a05298ec4494 ("testcases: realtime: Get rid
>> of autotools")
>>
>> I'm unfortunately not savvy enough with build systems to have much of
>> an idea of what is needed here.
>>
>> Any suggestions?
>
>
> Looks like you were trying to configure realtime-testsuite in LTP build.

Yes, as previously that seemed to be required.

> Try this:
>
> # cd ltp dir/
> # make autotools
> # ./configure
> # make -C testcases/realtime/

Thank you! That does indeed work.

> See: https://linux-test-project.readthedocs.io/en/latest/users/quick_start.html

Should the old --with-realtime-testsuite option be removed then?

thanks again!
-john