summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/runtest.bat9
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 54cccef..c5ac1ce 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+1999-01-17 Ross Johnson <rpj@ise.canberra.edu.au>
+
+ * runtest: New script to build and run a test in the tests directory.
+
Wed Dec 30 11:22:44 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* tsd1.c: Re-written. See comments at start of file.
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 ..