summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-16tst-syscall*: Add tests for syscall() with varargsStafford Horne
Add tests in preparation for genericizing some of the architecture syscall() implementations. This was noticed when testing OR1K and found it had a broken syscall implementation. These tests try to cover the libc syscall() lqyer which has the purpose of passing the syscall number and arguments to the kernel. The actual kernel syscalls chosen have been selected for ease of testing. Signed-off-by: Stafford Horne <shorne@gmail.com>
2017-12-16don't skip the testWaldemar Brodkorb
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-22tst-statfs: print f_frsize if availableEugene Rudoy
Follow-up of 68de9946e914d8c30dcc6667a059ea59e5b74cac Signed-off-by: Eugene Rudoy <gene.devel@gmail.com>
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
2017-01-28cleanup a little, disable a test for or1kWaldemar Brodkorb
2017-01-15add preadv/pwritev testWaldemar Brodkorb
2016-12-30add getnameinfo tests from GNU libcWaldemar Brodkorb
2016-12-24obstack removed, glibc compat is goneWaldemar Brodkorb
2016-12-18add iconv tests from glibc, enable one for uClibc-ng new libiconv, skip the ↵Waldemar Brodkorb
other
2016-12-18add missing include so that tests are not skippedWaldemar Brodkorb
2016-12-10fix compile error with glibc toolchainsWaldemar Brodkorb
2016-12-10fix compile error with glibc toolchainsWaldemar Brodkorb
2016-12-08disable xlocale testsWaldemar Brodkorb
2016-11-26we have to disable tst-tls2 for microblaze, qemu crashes otherwiseWaldemar Brodkorb
2016-11-26recognize big endian superh as shWaldemar 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-17install to /usr/lib/uclibc-ng-testWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2016-11-07add default DESTDIRWaldemar Brodkorb
2016-11-07add install targetWaldemar Brodkorb
2016-11-07fix math tests compileWaldemar Brodkorb
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-11-04dlopen: tests using threads, disable for NO_THREADSWaldemar Brodkorb
2016-11-04already defined, quieten gcc warningWaldemar Brodkorb
2016-11-03add option to disable wide-char testsWaldemar Brodkorb
2016-11-03math: disable bessel function check for uClibc-ngWaldemar Brodkorb
2016-11-03math: remove od ULPS, must be regeneratedWaldemar Brodkorb
2016-11-03argp: be sure uClibc-ng feature is availableWaldemar Brodkorb
2016-11-03math: sync with GNU libcWaldemar Brodkorb
The format of the ULPS files have changed, non-glibc architecture files needs to be updated later. Add all math tests from latest GNU libc and allow to compile and run them on uClibc-ng and GNU libc systems.
2016-11-03add microblaze handlingWaldemar Brodkorb
2016-11-03shelltests: removeWaldemar Brodkorb
2016-11-03tls: add microblaze macrosWaldemar Brodkorb
2016-10-30disable nptl/tls for linuxthreads targetsWaldemar Brodkorb
2016-10-29allow to disable threads and dynamic linking support testsWaldemar Brodkorb
2016-10-28tst-valloc: enable test, allow to be skippedWaldemar Brodkorb
2016-10-28allow to skip tests, if uClibc-ng feature is disabledWaldemar Brodkorb
2016-10-28add new toplevel infrastructureWaldemar Brodkorb
2016-10-28rework most tests to work as standalone packageWaldemar Brodkorb
2016-10-24add uClibc-ng test directoryWaldemar Brodkorb