Point tests to new fakelib directory

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5825 4407c894-4637-0410-b4f5-ada5f102cad1
Include the public facing winpthread headers for the testsuite

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5826 4407c894-4637-0410-b4f5-ada5f102cad1
Include pthread.h in testcases that need it

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5827 4407c894-4637-0410-b4f5-ada5f102cad1
winpthreads doesn't depend on libpthread.  We only needed it because gcc was trying to link it by default.  This is most likely a gcc bug.  andoni on irc found a workaround.  The frontend has a -no-pthread switch to prevent this default linking.  winpthreads now uses that to link, and we can thusly remove the fake libpthread from the build entirely.

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5828 4407c894-4637-0410-b4f5-ada5f102cad1
Disable a broken test

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5829 4407c894-4637-0410-b4f5-ada5f102cad1
Add the top builddir to the link list of the tests so the tests can find the winpthreads library.  This was needed because all of the libs are no longer in one spot.  A previous revision moved the fake libraries into their own fakelibs directory.

git-svn-id: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk@5830 4407c894-4637-0410-b4f5-ada5f102cad1