summaryrefslogtreecommitdiff
path: root/dev-util/rt-tests
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-05 09:16:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-05 09:16:05 +0000
commita0c1504c093bc6abe04f9d96018f6252f81cd9ab (patch)
tree82e76cb195b40fe1b22aba9edf7048985b929f0d /dev-util/rt-tests
parentc75fb751e4fd18ca8d87b0198e91a1976ffb2f2d (diff)
gentoo auto-resync : 05:02:2023 - 09:16:04
Diffstat (limited to 'dev-util/rt-tests')
-rw-r--r--dev-util/rt-tests/Manifest6
-rw-r--r--dev-util/rt-tests/files/rt-tests-2.5-musl.patch (renamed from dev-util/rt-tests/files/rt-tests-2.4-musl.patch)25
-rw-r--r--dev-util/rt-tests/rt-tests-2.5.ebuild (renamed from dev-util/rt-tests/rt-tests-2.4.ebuild)0
3 files changed, 16 insertions, 15 deletions
diff --git a/dev-util/rt-tests/Manifest b/dev-util/rt-tests/Manifest
index a0759775ef61..60fecd0eec76 100644
--- a/dev-util/rt-tests/Manifest
+++ b/dev-util/rt-tests/Manifest
@@ -1,4 +1,4 @@
-AUX rt-tests-2.4-musl.patch 9390 BLAKE2B 08844f79e506620bb38467be940757c34c4a125697eac329053e60d5f44b550bb6fbf849d58bda68cbec85e285a17365de0e5a88bd73f78473d386df5a62d47d SHA512 c286901c4ecd847882ecf53ef2a3ea60099b38c9dfb5baebc55f64d4025c24334cf169a23003503deb5b859c49f280c3ccbd24e5fddcb857608ad6cf451cdeee
-DIST rt-tests-2.4.tar.xz 104172 BLAKE2B bd7ac3ff64171b122341eec81ac61dcda429d33d6a69362d498d5db667b8cb77502d745bc2f7ce03cc1e958d02889a902f65544c7fef994fb4d7e72230c73e10 SHA512 308207ad620ee458e4ac000a9437266a84f4807d9cecd8030d5ae12a210c2a01f80a331bb60faeb41244d7ab80b3cadf8164711547a02f5afa353d1a3644d794
-EBUILD rt-tests-2.4.ebuild 915 BLAKE2B 8cc1000c58ff0a3b17bb5f2e99eae5f06773ebaa288d8944754740ddd0eb5ad3f27f5cce7431fddb235797e7244761ed77682fe812212c015541d207f79d82cd SHA512 8d3970b6b63fdf21bb2188d25a0eda95ccf1d819276f0759f5d3bb0496c248bb1606e5383214734b726a6a8b499cd851691d54db9a8988cc55d50557b9115be4
+AUX rt-tests-2.5-musl.patch 9421 BLAKE2B 5794f6643d3144a3f8e92cff1baf44acc5a41033e50026ef44bbbb2508558d8b39c8a1db03d7dcdef2cfcbd5ad02b935cc339f0a2a12ebc6704a27b49069f0ba SHA512 1f0572642ce8116b024b8b663e9208ebadce5a0ac004888d2bf2592de749d2877246fca39227576663336a4ec583432ad0fc5bbf6bc4f589e1d4273b655b5f8a
+DIST rt-tests-2.5.tar.xz 104596 BLAKE2B 3c03be9fb58ede744b6521cd74cef923f667c94ad8a3abb3d88efa7733f7672c8151b22e122499d1811f16ccd5a9335110eeb6c7c722c9899c369c912112f3b2 SHA512 a9966b6da89a9778f668faee5c347024a43bf978826bf16f0f8034acbf383eb688c6962e1de80e7efd34a5a0c67cb7c37ed5822979676b76a1e725d620bfd391
+EBUILD rt-tests-2.5.ebuild 915 BLAKE2B 8cc1000c58ff0a3b17bb5f2e99eae5f06773ebaa288d8944754740ddd0eb5ad3f27f5cce7431fddb235797e7244761ed77682fe812212c015541d207f79d82cd SHA512 8d3970b6b63fdf21bb2188d25a0eda95ccf1d819276f0759f5d3bb0496c248bb1606e5383214734b726a6a8b499cd851691d54db9a8988cc55d50557b9115be4
MISC metadata.xml 749 BLAKE2B b0072755603e59495f6a9cb82885dd8c882e394c90be750293026948b3f66010c6cd0ab77af16d41a552a1117dbb92886f3afa44b9c9b0b9a6bc7793ab6e7700 SHA512 edcbee69b86ff91ea64a1e60bf7a4329805eaf48337370dba6c3f737c2e459e3c7fa6b6365261a0cb8f5604f5b22d1a7b08f0b8cbba0f0fb44e9623865eff522
diff --git a/dev-util/rt-tests/files/rt-tests-2.4-musl.patch b/dev-util/rt-tests/files/rt-tests-2.5-musl.patch
index 886359894cdf..a7aca4392ebb 100644
--- a/dev-util/rt-tests/files/rt-tests-2.4-musl.patch
+++ b/dev-util/rt-tests/files/rt-tests-2.5-musl.patch
@@ -16,16 +16,16 @@ Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
---
Makefile | 5 --
src/backfire/sendme.c | 1
- src/cyclictest/cyclictest.c | 70 ++++------------------------------
- src/hackbench/hackbench.c | 4 +
- src/include/musl.h | 28 +++++++++++++
+ src/cyclictest/cyclictest.c | 68 ++++------------------------------
+ src/hackbench/hackbench.c | 4 +-
+ src/include/musl.h | 28 ++++++++++++++
src/lib/rt-utils.c | 1
- src/pi_tests/tst-mutexpi10.c | 2
+ src/pi_tests/tst-mutexpi10.c | 2 +
src/pmqtest/pmqtest.c | 1
src/ptsematest/ptsematest.c | 1
src/rt-migrate-test/rt-migrate-test.c | 1
src/sched_deadline/cyclicdeadline.c | 1
- 11 files changed, 48 insertions(+), 67 deletions(-)
+ 11 files changed, 47 insertions(+), 66 deletions(-)
create mode 100644 src/include/musl.h
--- a/Makefile
@@ -197,7 +197,7 @@ Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
/* if smp wasn't requested, test for numa automatically */
if (!smp) {
numa = numa_initialize();
-@@ -1993,7 +1940,6 @@ int main(int argc, char **argv)
+@@ -1991,7 +1938,6 @@ int main(int argc, char **argv)
}
@@ -205,18 +205,19 @@ Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
mode = use_nanosleep + use_system;
sigemptyset(&sigset);
-@@ -2043,16 +1989,18 @@ int main(int argc, char **argv)
- void *stack;
+@@ -2042,6 +1988,7 @@ int main(int argc, char **argv)
void *currstk;
size_t stksize;
+ int node_cpu = cpu;
+ int err;
- /* find the memory node associated with the cpu i */
- node = rt_numa_numa_node_of_cpu(cpu);
+ if (node_cpu == -1)
+ node_cpu = cpu_for_thread_ua(i, max_cpus);
+@@ -2050,11 +1997,12 @@ int main(int argc, char **argv)
+ node = rt_numa_numa_node_of_cpu(node_cpu);
-- /* get the stack size set for this thread */
+ /* get the stack size set for this thread */
- if (pthread_attr_getstack(&attr, &currstk, &stksize))
-+ /* get the stack size set for for this thread */
+ err = pthread_attr_getstack(&attr, &currstk, &stksize);
+ if (err != EINVAL)
fatal("failed to get stack size for thread %d\n", i);
diff --git a/dev-util/rt-tests/rt-tests-2.4.ebuild b/dev-util/rt-tests/rt-tests-2.5.ebuild
index 503b4965a276..503b4965a276 100644
--- a/dev-util/rt-tests/rt-tests-2.4.ebuild
+++ b/dev-util/rt-tests/rt-tests-2.5.ebuild