Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/get_cpu_location: disable an assert on process-wide cpu-locatio…
…n when there are unexpected threads qemu-user led us to add an env-var to disable some checks (see commit de60938). The actual problem is an expected threads in a process (launched by qemu-user). Detect such cases on Linux by looking in /proc/self/task/ and auto-disable those asserts. The env-var is still available for now, may be useful later if the same problem ever occurs on !Linux. Thanks to Ludovic Courtes for the help. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information