aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sched_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use #if defined(__BIONIC__) in tests.Elliott Hughes2014-05-131-1/+1
| | | | | | | | I've also switched some tests to be positive rather than negative, because !defined is slightly harder to reason about and there are only two cases: bionic and glibc. Change-Id: I8d3ac40420ca5aead3e88c69cf293f267273c8ef
* Hide the __bionic_clone and __bionic_clone_entry implementation details.Elliott Hughes2014-05-081-0/+8
| | | | | | | | | clone(2) is the public symbol. Also switch a test from __bionic_clone to clone; testing public API means the test now works on glibc too. Change-Id: If59def26a00c3afadb8a6cf9442094c35a59ffde
* Fix the CPU_*_S tests.Elliott Hughes2014-04-301-5/+5
| | | | Change-Id: Id67c48b9c12a20b01309490670438bfcd9163465
* Fix cpu_set_tCalin Juravle2014-04-301-0/+204
| | | | | | | | | | - extend CPU_SETSIZE for LP64 - fix CPU_(AND|OR|XOR) macros - fix CPU_OP_S macro - fix __sched_cpucount - tidy up the code Change-Id: I741afff4d0c473e8a1ee6b4141981dc24467e0d4
* Fix up failing glibc tests.Christopher Ferris2013-10-291-1/+11
| | | | | | | | | | | | | | | | There is a known bug running clone with the CLONE_VM flag, so for host create an empty test. Change the expected output of the stdio test for a glibc difference. Change the pause test to use ScopedSignalHandler to setup/restore the SIGALRM handler. After this, running bionic-unit-tests-glibc passes for all tests. Bug: 11389824 Change-Id: Ib304eae4164115835a54991dfdca5821ecc3db5e
* Fix the x86_64 clone implementation.Elliott Hughes2013-10-181-0/+42
Change-Id: Ia75f46dcb4d3222049e9a6a6fabc2b17223b47f7