summaryrefslogtreecommitdiff
path: root/test/nptl
AgeCommit message (Collapse)Author
2018-07-21Revert "arc: disable deadlocking test"Vineet Gupta
This seems to work fine on ARC ! This reverts commit f0567d67075ff7a27ada8ab5bce750fe8a739763. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2017-12-10Fix subtle race in tst-cancel2 / tst-cancelx2Vineet Gupta
When ran on ARC, these tests would ocassionally fail | [ARCLinux]# for i in 1 2 3 4 5 ; do ./tst-cancel2; echo $?; done | write succeeded | result is wrong: expected 0xffffffff, got 0x1 | 1 <-- fail | 0 <-- pass | 0 <--- pass | 0 <-- pass | write succeeded | result is wrong: expected 0xffffffff, got 0x1 | 1 <-- fail Same test (which originated form glibc) doesn't fail in glibc builds. Turns out there's a subtle race in uclibc version The test creates a new thread, makes it do a looong write call, and parent then cancels the thread, expecting it to unwind out of write call cleanly. However the write (even for 10k bytes) could finish before parent gets a chance to resume and/or cancel it, causing the occasional failure. Fix this subtelty by making it write not just once but forever. Cc: Cupertino Miranda <cmiranda@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2017-12-05Revert "or1k: disable some tests to complete test runs in qemu"Waldemar Brodkorb
This reverts commit 1502f8269bb8e58f8b29fb69af3a3b8c7b2532de.
2017-11-05arc: disable deadlocking testWaldemar Brodkorb
2017-10-26or1k: disable some tests to complete test runs in qemuWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2017-06-28sh: disable tests, stallingWaldemar Brodkorb
2017-05-12nptl: add new testcase for pthread_getcpuclockid()Waldemar Brodkorb
2017-05-12disable for glibcWaldemar Brodkorb
2016-12-10fix compile error with glibc toolchainsWaldemar Brodkorb
2016-12-10fix compile error with glibc toolchainsWaldemar Brodkorb
2016-11-26we have to disable tst-tls2 for microblaze, qemu crashes otherwiseWaldemar Brodkorb
2016-11-22sh: disable some tests, we need to investigate later, tst-cond1 deadlocks on ↵Waldemar Brodkorb
glibc, too
2016-11-21use TARGET_ARCH everywhereWaldemar Brodkorb
Disable some test for metag to allow runtime testing again. Rename the big math meta-data files and do not install them. Cris and Metag can be runtime tested again.
2016-11-07some tests need to be compiled with -std=c99Waldemar Brodkorb
2016-11-06allow to compile and run on musl based systemsWaldemar Brodkorb
This is a first shot, more improvements required to allow to run more tests.
2016-10-28rework most tests to work as standalone packageWaldemar Brodkorb
2016-10-24add uClibc-ng test directoryWaldemar Brodkorb