summaryrefslogtreecommitdiff
path: root/tests/runtest.bat
diff options
context:
space:
mode:
authorrpj <rpj>1999-01-16 17:34:53 +0000
committerrpj <rpj>1999-01-16 17:34:53 +0000
commit9b75468a10363ada39a17563cca6bcd819ec8fcd (patch)
treeea082f51c28cb761f109f9a407e54c5c4fe41bd2 /tests/runtest.bat
parent677bfb0881c56dad767a07b31ac543db284e16c6 (diff)
Sun Jan 17 12:01:26 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>snapshot-1999-01-17
* private.c (_pthread_sem_timedwait): Move from semaphore.c. * semaphore.c : Remove redundant #includes. (_pthread_sem_timedwait): Move to private.c. (sem_wait): Add missing abstime arg to pthreadCancelableWait() call. 1999-01-17 Ross Johnson <rpj@ise.canberra.edu.au> * runtest: New script to build and run a test in the tests directory.
Diffstat (limited to 'tests/runtest.bat')
-rw-r--r--tests/runtest.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/runtest.bat b/tests/runtest.bat
new file mode 100644
index 0000000..fd68008
--- /dev/null
+++ b/tests/runtest.bat
@@ -0,0 +1,9 @@
+cd tmp
+cl /W3 /MT /nologo /Yd /Zi -I..\.. -D_WIN32_WINNT=0x400 -DSTDCALL=_stdcall -c ..\%1.c
+cl /Feaout.exe /Zi %1.obj ..\..\pthread.lib
+del %1.obj
+copy ..\..\pthread.dll .
+aout.exe
+del aout.exe
+del pthread.dll
+cd ..