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

Li Wang
2024-06-25T03:16:09Z

Hi John,

On Tue, Jun 25, 2024 at 8:05 AM John Stultz via ltp <ltp@lists.linux.it>
wrote:

> On Mon, Jun 24, 2024 at 3:45 AM Cyril Hrubis <chrubis@suse.cz> wrote:
> >
> > Hi!
> > FYI the patch that removes the autotools from the testcases/realtime has
> > been merged, it should be possible to use the include/tst_atomic.h and
> > other headers without conflicts now.
>
> 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.

Try this:

# cd ltp dir/
# make autotools
# ./configure
# make -C testcases/realtime/
See:
https://linux-test-project.readthedocs.io/en/latest/users/quick_start.html

--
Regards,
Li Wang