uclibc-ng-test: update to latest
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4cd9f785c1
commit
f805725470
@ -1,40 +0,0 @@
|
||||
From 787e584f18afc967d91cfe1a8443df2657579ecb Mon Sep 17 00:00:00 2001
|
||||
From: Waldemar Brodkorb <wbx@openadk.org>
|
||||
Date: Fri, 12 May 2017 00:44:01 +0200
|
||||
Subject: [PATCH] disable for glibc
|
||||
|
||||
uclibc-ng-test is broken with glibc 2.25 due to pthread_cond_t changes introduced by [1].
|
||||
Disable test-cond22 for glibc based toolchain.
|
||||
|
||||
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ed19993b5b0d05d62cc883571519a67dae481a14
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
test/nptl/tst-cond22.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/nptl/tst-cond22.c b/test/nptl/tst-cond22.c
|
||||
index 3255cc0..23697dd 100644
|
||||
--- a/test/nptl/tst-cond22.c
|
||||
+++ b/test/nptl/tst-cond22.c
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-#if defined(__GLIBC__) || defined(__UCLIBC__)
|
||||
+#if defined(__UCLIBC__)
|
||||
static pthread_barrier_t b;
|
||||
static pthread_cond_t c = PTHREAD_COND_INITIALIZER;
|
||||
static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
|
||||
@@ -54,7 +54,7 @@ tf (void *arg)
|
||||
static int
|
||||
do_test (void)
|
||||
{
|
||||
-#if defined(__GLIBC__) || defined(__UCLIBC__)
|
||||
+#if defined(__UCLIBC__)
|
||||
int status = 0;
|
||||
|
||||
if (pthread_barrier_init (&b, NULL, 2) != 0)
|
||||
--
|
||||
2.9.3
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UCLIBC_NG_TEST_VERSION = c9b9876cefc142a23aa622b821290ed16af80058
|
||||
UCLIBC_NG_TEST_VERSION = c4d54bde7772b55df04399ecb355769c5ac31015
|
||||
UCLIBC_NG_TEST_SITE = git://uclibc-ng.org/git/uclibc-ng-test
|
||||
UCLIBC_NG_TEST_LICENSE = LGPL-2.1+
|
||||
UCLIBC_NG_TEST_LICENSE_FILES = COPYING.LIB
|
||||
|
Loading…
Reference in New Issue
Block a user