File: disable_ppc64_autopkgtest_fails.patch

package info (click to toggle)
dpdk 24.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 121,148 kB
  • sloc: ansic: 2,206,055; python: 11,866; sh: 4,627; makefile: 2,025; awk: 70
file content (45 lines) | stat: -rw-r--r-- 1,078 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Skip tests failing in ppc64 test environment
 These tests are very flaky on the Debci infrastructure for ppc64.
Forwarded: not-needed
X-Not-Forwarded-Reason: This only applies to Debci environments
Author: Luca Boccassi <bluca@debian.org>
--- a/app/test/test_pdump.c
+++ b/app/test/test_pdump.c
@@ -204,6 +204,11 @@
 test_pdump(void)
 {
 	int ret = 0;
+
+#if defined(__PPC64__)
+	return TEST_SKIPPED;
+#endif
+
 	if (rte_eal_process_type() == RTE_PROC_PRIMARY) {
 		printf("IN PRIMARY PROCESS\n");
 		ret = run_pdump_server_tests();
--- a/app/test/test_pflock.c
+++ b/app/test/test_pflock.c
@@ -162,6 +162,10 @@
 {
 	int i;
 
+#if defined(__PPC64__)
+	return TEST_SKIPPED;
+#endif
+
 	rte_pflock_init(&sl);
 	for (i = 0; i < RTE_MAX_LCORE; i++)
 		rte_pflock_init(&sl_tab[i]);
--- a/app/test/test_ticketlock.c
+++ b/app/test/test_ticketlock.c
@@ -206,6 +206,10 @@
 	int ret = 0;
 	int i;
 
+#if defined(__PPC64__)
+	return TEST_SKIPPED;
+#endif
+
 	/* worker cores should be waiting: print it */
 	RTE_LCORE_FOREACH_WORKER(i) {
 		printf("lcore %d state: %d\n", i,