summaryrefslogtreecommitdiffstats
path: root/package/rt-tests/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* package/rt-tests: disable for too old toolchainsRomain Naour2016-07-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | rt-tests doesn't build with some "old" toolchains due to missing local syscall number definition for the new kernel deadline scheduler on some architectures. Upsteam added __NR_sched_setattr and __NR_sched_setattr definition only for common architectures (x86, x86_64, arm) and tile if not already defined [1]. Instead of adding missing syscall number, avoid building rt-tests with toolchain compiled with too old kernel headers (i.e !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14) At runtime, a 3.14 kernel must be used otherwise these syscall are not available. [1] https://kernel.googlesource.com/pub/scm/utils/rt-tests/rt-tests.git/+/ef2dee4232b7cae594ef7ecb7230c4bd18cea3f3 Fixes: http://autobuild.buildroot.net/results/6fa/6facaeb10588bdf3ff029b882a8ae6ffba815cdc Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rt-tests: disable for musl toolchainsRomain Naour2016-07-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The cyclictest program doesn't build with musl toolchains due to several issues with a different implementation of the "struct sigevent" from Glibc/uClibc and musl (similar to [1]). The pi_stress program doesn't build with musl toolchains with the following error since musl doesn't provide _POSIX_THREAD_PRIO_INHERIT define even if musl have Priority Inheritance mutexes [2]: src/pi_tests/pi_stress.c:78:2: error: #error "Can't run this test without PI Mutex support" #error "Can't run this test without PI Mutex support" Since the fix for cyclictest is not trivial, disable rt-tests for musl toolchains. Fixes: http://autobuild.buildroot.net/results/c27/c272ef7df6190cbb688e6db0b1ee210e6fbb472c [1] https://bugs.mysql.com/bug.php?id=80322 [2] http://www.openwall.com/lists/musl/2016/03/18/6 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rt-tests: bump to 1.0Romain Naour2016-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | Rebase patch 01 and 02 on v1.0 Remove upstream patches 03 and 04. Switch to release tarball (.xz) and use BR2_KERNEL_MIRROR Remove HASPYTHON since it has been removed from patch 01 and clear PYLIB if PYTHON package is not selected. Remove NPTL handling since the patch upstreamed by Alexey Brodkin has been reverted [1] Add hash file [1] https://git.kernel.org/cgit/utils/rt-tests/rt-tests.git/commit/?id=6f3c1ba9e8403cff6ca12351c43bde68e0fbca25 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: remove occurrence of eglibcThomas Petazzoni2016-06-281-3/+3
| | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: unavailable for static buildsGustavo Zacarias2016-02-011-2/+3
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/a6f/a6f6502e55fd68803f3ff8b4b76cce6601e101db/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: needs MMUBaruch Siach2014-11-211-0/+2
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/123/12341a8b9c5696bbb392d8b891e013b5023f4105/ http://autobuild.buildroot.net/results/99b/99b81af510fcbe2eb948600d5ad7eaa0aad39352/ http://autobuild.buildroot.net/results/a62/a62b810958c80c4ac95ec2b5404e58505e5a942b/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: allow building subset of tests with non-NPTL toolchainsAlexey Brodkin2014-11-111-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some architectures are still stuck with non-NPTL toolchains. These are for example ARC, Blackfin, Xtensa etc. Still rt-tests are very good benchmarks and it would be good to enable use of at least selected (those that will be built) tests on those architectures. This change makes it possible to only build subset of tests that don't require NPTL calls. Following tests will be built with non-NPTL toolchain: * signaltest * ptsematest * sigwaittest * svsematest * sendme * hackbench Still it's required to have a toolchain with threads support because most of mentioned tests use threads. 03-fix-non-nptl-buil.patch was submitted upstream: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg762958.html so as soon as it is accepted with the next version bump this patch should be removed. [Thomas: fix the rt-tests.mk test on NPTL to use positive logic.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: enable on MIPS uClibc againArnout Vandecappelle2014-10-121-5/+4
| | | | | | | | | | | We have fixes in the internal toolchain; an external toolchain is most likely a buildroot-built toolchain anyway, so it will also have the fix. But we still keep a comment to warn the user for potentially-broken external toolchains. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-02-281-9/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * rt-tests: use BR2_TOOLCHAIN_HAS_THREADS_NPTLThomas Petazzoni2014-02-221-9/+3
| | | | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | rt-tests: fix mips+uclibc checkPeter Korsgaard2014-02-231-3/+3
| | | | | | | | | | | | | | | | | | | | The conditional (suggested by me) introduced in 108952 (rt-tests: disable for uclibc mips) isn't actually valid kconfig syntax, causing menuconfig to error out. Rewrite it to use proper syntax. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | rt-tests: disable on bfinRyan Barnett2014-02-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | rt-tests depends on NPTL which is not available on the bfin architecture. Fixes: http://autobuild.buildroot.net/results/ac9/ac95f73b2351d46d9a8c48caae7f6c3ea124e8bc Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | rt-tests: disable for uclibc mipsRyan Barnett2014-02-231-0/+7
|/ | | | | | | | | | | | rt-tests is not supported by a uclibc toolchain that does not implement _pid in struct sigevent. Currently this is all MIPS architectures in uclibc. Fixes: http://autobuild.buildroot.net/results/074/074265602bec4aba6c82d1aee389045e8ad33d4b Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: disable NPTL is missingBaruch Siach2014-01-161-4/+6
| | | | | | | | Fixes http://autobuild.buildroot.net/results/8aa/8aaa4b56a53241b7342fede568fbc72a7656cc38/. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: mention that NPTL thread implementation is neededThomas Petazzoni2013-03-241-0/+6
| | | | | | | | | | | | This patch superseds http://patchwork.ozlabs.org/patch/150161/, but does it in a different way. Since we don't have a way of selecting the thread implementation for external toolchains, and it sounds a bit too heavy to add new config options just for the sake of rt-tests, we instead simply add some help text to the rt-tests package explaining that NPTL thread implementation is needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: fix typo in Config.in threads negative logicGustavo Zacarias2012-12-091-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: not available on avr32, too old uClibcThomas Petazzoni2012-12-091-0/+3
| | | | | | | | | | | | The old uClibc used for the AVR32 architecture does not implement priority inheritance, therefore rt-tests cannot build. Fixes: http://autobuild.buildroot.org/results/695293d889128c666174d5fe03c5deadbe4d5415/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: requires thread support in the toolchainThomas Petazzoni2012-12-091-0/+4
| | | | | | | | | The rt-tests package extensively use threads, so this package should only be available if the toolchain has thread support. [Peter: add comment when not available] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: new packageThomas Petazzoni2012-01-021-0/+13
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud