As a master switch to access POSIX APIs. Also, remove dependency on pthreads for tests which don't require it. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Put everything under tests/posix, this is not stirctly part of the kernel. Signed-off-by: Anas Nashif <anas.nashif@intel.com>