-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched_football: Rewrite into new API
This is due test compilation broken on old gcc 4.8 we still support since 8fc3cf4. Combining LTP librealtime (librttest.c) and LTP library is somehow experimental. -lltp was needed to be added to CFLAGS. librttest.c getopts were ignored, port just test specific -l and -n. Fixes: 8fc3cf4 ("sched_football: Re-add the crazy fans to interrupt everyone") Link: https://lore.kernel.org/ltp/20240711104400.63355-2-pvorel@suse.cz/ Reviewed-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information
Showing
2 changed files
with
86 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
# | ||
# realtime/func/sched_football test suite Makefile. | ||
# | ||
# Copyright (C) 2009, Cisco Systems Inc. | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License along | ||
# with this program; if not, write to the Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Copyright (C) 2009, Cisco Systems Inc. | ||
# Copyright (c) Linux Test Project, 2009-2024 | ||
# realtime/func/sched_football test suite Makefile. | ||
# Ngie Cooper, September 2009 | ||
# | ||
|
||
top_srcdir ?= ../../../.. | ||
|
||
INSTALL_TARGETS := run_auto.sh | ||
include $(top_srcdir)/include/mk/env_pre.mk | ||
include $(abs_srcdir)/../../config.mk | ||
|
||
# TODO: integrate properly with LTP library | ||
LDLIBS += -lltp | ||
include $(top_srcdir)/include/mk/generic_leaf_target.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters