aboutsummaryrefslogtreecommitdiff
path: root/package/rt-tests
Commit message (Collapse)AuthorAgeFilesLines
* package makefiles: clean up backslash spacing.Gravatar Adam Duskett2017-04-221-6/+6
| | | | | | | | | | The check-package script when ran gave warnings on only using one space before backslashes on all of these makefiles. This patch cleans up all warnings related to the one space before backslashes rule in the make files in the package directory. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove consecutive empty linesGravatar Ricardo Martincoski2017-04-061-1/+0
| | | | | | | | | | | Occurrences were searched using [1]: check-package --include-only ConsecutiveEmptyLines $(find * -type f) and manually removed. [1] http://patchwork.ozlabs.org/patch/729666/ Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch, linux, package: remove whitespacesGravatar Bernd Kuhls2017-03-291-3/+3
| | | | | | | | | | | | Whitespaces were searched using the following regex: [ ]{1,}\t and then manually removed in most of the cases. For xserver_xorg-server.mk, tabs before backslashes were removed. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gravatar Gustavo Zacarias2016-10-221-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rt-tests: add syscall-number for sched_(gs)etattr() for SH4Gravatar Romain Naour2016-08-191-0/+34
| | | | | | | | | | | | | | | The dependency on kernel headers >= 3.14 was added by b9fa6c00b1213fd038f2aed52057f22c7e18fd4b since librttest requires __NR_sched_setattr and __NR_sched_getattr syscalls (rt-sched). But these syscalls have just been added to kernel 4.8 for SH4. Fixes: http://autobuild.buildroot.net/results/67fc16366717f34df492683a14ecd23376e23110 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rt-tests: disable for too old toolchainsGravatar Romain 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 toolchainsGravatar Romain 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.0Gravatar Romain Naour2016-07-159-280/+97
| | | | | | | | | | | | | | | | | | | | | 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>
* package/rt-tests: switch to the upstream repositoryGravatar Romain Naour2016-07-151-1/+1
| | | | | | | rt-tests is not maintained from Clark Williams's repository anymore. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: remove occurrence of eglibcGravatar Thomas 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 buildsGravatar Gustavo 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: fix build dependenciesGravatar Baruch Siach2015-01-271-0/+50
| | | | | | | | | | | Some tests didn't list librttest in their dependencies. Fixes: http://autobuild.buildroot.net/results/999/9998dcf8c82989d9eba772e16ce3905b24badbfc/ http://autobuild.buildroot.net/results/b1e/b1e078591d65a3b5c9d638ad5bbb4ec8c28c38ef/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rt-tests: fix build of NPTL dependent testsGravatar Baruch Siach2015-01-151-1/+3
| | | | | | | | | | | | | | | Commit 143fe5b443da4 (rt-tests: allow building subset of tests with non-NPTL toolchains) disabled build of NPTL dependent tests unconditionally. Fix this. [Thomas: - fix typo in commit title. - reverse condition, to use positive logic.] Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Reported-by: "Williams Jr., Ernest L." <ernesto@slac.stanford.edu> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Alexey Brodkin <abrodkin@synpsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: needs MMUGravatar Baruch 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: bump version to 0.89Gravatar Alexey Brodkin2014-11-113-49/+64
| | | | | | | | | | | | | | | | | | With this change we're moving to the latest version of rt-tests. Existing patches were updated so they apply on sources without errors and warnings. In "01-fix-build-system.patch" CFLAGS substitution was removed because now external CFLAGS are accepted: http://git.kernel.org/cgit/linux/kernel/git/clrkwllms/rt-tests.git/commit/?id=dfcef6e557b7980a33aa30b45bde196ed1780eb1 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: switch site from Debian snapshot to Linux's gitGravatar Alexey Brodkin2014-11-111-3/+2
| | | | | | | | | | | | | | | | Origin of "rt-tests" is: git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git Switching to this new "origin" simplifies version bumping because there's no need in updating Debian snapshot folder as it was done already here: http://git.buildroot.net/buildroot/commit/package/rt-tests?id=da330e508c2d95e898ac52a2aa39426a5f6d0506 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: rename patch to the new conventionGravatar Alexey Brodkin2014-11-112-0/+0
| | | | | | | | | | | | As a preparation to the introduction of an additional patch to rt-tests, let's rename the existing patch to the new naming convention. 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: allow building subset of tests with non-NPTL toolchainsGravatar Alexey Brodkin2014-11-113-4/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* package/*: update snapshot.debian.org snapshot datesGravatar Karoly Kasza2014-10-251-1/+1
| | | | | Signed-off-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: enable on MIPS uClibc againGravatar Arnout 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>
* package: remove the trailing slash sign from <PKG>_SITE variableGravatar Jerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-test: add license informationGravatar Gustavo Zacarias2014-07-021-2/+4
| | | | | | [Peter; fix variable name typo] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Gravatar 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_NPTLGravatar Thomas 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 checkGravatar Peter 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 bfinGravatar Ryan 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 mipsGravatar Ryan 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 missingGravatar Baruch 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 commentsGravatar Thomas 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 dependenciesGravatar Thomas 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>
* package: remove the empty trailing linesGravatar Jerzy Grzegorek2013-09-131-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add header to packages where missingGravatar Alexandre Belloni2013-06-211-0/+6
| | | | | | Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: mention that NPTL thread implementation is neededGravatar Thomas 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 logicGravatar Gustavo 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 uClibcGravatar Thomas 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 toolchainGravatar Thomas 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>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rt-tests: fix build issues on uClibcGravatar Peter Korsgaard2012-01-031-0/+103
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rt-tests: new packageGravatar Thomas Petazzoni2012-01-023-0/+81
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>