# HG changeset patch # User thomask # Date 1130534601 0 # Node ID 528649416e9de71d39bad8e07e049fb49e154c97 # Parent a35e4f0a9049f13dbca7b393a96d623131ec97cc infrastructure maintenance diff -r a35e4f0a9049 -r 528649416e9d Makefile --- a/Makefile Fri Oct 28 21:22:25 2005 +0000 +++ b/Makefile Fri Oct 28 21:23:21 2005 +0000 @@ -1,4 +1,4 @@ -# $HeadURL$ +# $HeadURL$ # $Date$ # $Author$ # @@ -51,7 +51,7 @@ CD := cd endif -# executeable: display a message test (e.g. echo "something to say) +# executeable: display a message test (e.g. echo "something to say") ifndef ECHO ECHO := echo endif diff -r a35e4f0a9049 -r 528649416e9d crashRun.c --- a/crashRun.c Fri Oct 28 21:22:25 2005 +0000 +++ b/crashRun.c Fri Oct 28 21:23:21 2005 +0000 @@ -3,7 +3,7 @@ * * Copyright (C) * 2005 Thomas Kuehne - * 2005 Anders F Björklund + * 2005 Anders F Björrklund * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ const int TIME_OUT= 5*60; /* time-out in seconds (might be cpu or system time)*/ const int MEM_LIMIT = 200; /* mem megabytes */ -/* try to cope with -ansi and other threads */ +/* identify system API */ #if defined(__GNU_LIBRARY__) || defined(__GLIBC__) || defined(__USE_POSIX) #define USE_POSIX #endif diff -r a35e4f0a9049 -r 528649416e9d readme.html --- a/readme.html Fri Oct 28 21:22:25 2005 +0000 +++ b/readme.html Fri Oct 28 21:23:21 2005 +0000 @@ -20,8 +20,8 @@ - - + + @@ -96,13 +96,14 @@
-
DMD / dmd
+
DMD
the D compiler, e.g.: c:\dmd\bin\dmd.exe
use the wrapper gdmd for the GDC compiler
default value: dmd
-
GDB / gdb
+
GDB
a debugger with gdb-like commands, e.g.: /usr/local/bin/gdb
default value: gdb
+
note: only used on POSIX operating systems (e.g. BSD, Linux, Unix)
@@ -132,7 +133,6 @@

^ Testing

- Testcases that are newer than the result file are ignored.
Posix Systems: AIX, Apple, BSD, Linux, Unix
@@ -210,6 +210,7 @@
Notes
    +
  • test cases that have been changed since the recording of the result file ignored
  • the output is unsorted
  • one or more result-files can be feed to the reporter class
  • lines containing statistic data are marked by <!-- summary -->
  • @@ -239,6 +240,6 @@
-



http://dstress.kuehne.cn/readme.html; 2005-08-21; Webmaster
+



http://dstress.kuehne.cn/readme.html; 2005-10-27; Webmaster
\ No newline at end of file diff -r a35e4f0a9049 -r 528649416e9d readme.txt --- a/readme.txt Fri Oct 28 21:22:25 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,237 +0,0 @@ - - DStress - a D compiler test suite - -(c) 2004, 2005 Thomas Kühne - - - ^ <#top> Abstract - - DStress is a collection of bug tracking and language conformance - test cases for the D programming language - . This document describes the use of the - testing framework. The test summary can be found at - and a - complete listing at . - - - ^ <#top> Index - - 1. Conditions <#conditions> - 2. Symbols <#symbols> - 3. Environment Settings <#environment-settings> - 4. Testcase Settings <#testcase-settings> - 5. Testing <#testing> - 6. Report Generation <#report-generation> - 7. Sourcecode Metadata <#sourcecode-metadata> - - - ^ <#top> Conditions - - Passed - - 1. compiler return code zero - 2. no assertion was thrown - 3. return code of main is zero (applies only to the runtime - tests) - - Failed - - 1. compiler return code unequal zero - 2. linker return code unequal zero - 3. assertion was thrown - 4. return code of main isn't zero (applies only to the - runtime tests) - - Error - - 1. compiler segfaulted - 2. test case segfaulted - 3. unexpected compiler failure without source indication - - - ^ <#top> Symbols - - The symbols are the same as those used by the DejaGnu - test framework. - - PASS - test case was expected to pass, and it did - XPASS - test case was expected to fail, but passed - FAIL - test case was expected to pass, but failed - XFAIL - test case was expected to fail, and it did - ERROR - compiler, linker or test case segfaulted - - - ^ <#top> Environment Settings - - DMD / dmd - the D compiler, e.g.: /c:\dmd\bin\dmd.exe/ - use the wrapper /gdmd/ for the GDC compiler - default value: /dmd/ - GDB / gdb - a debugger with gdb-like commands, e.g.: //usr/local/bin/gdb/ - default value: /gdb/ - - - ^ <#top> Testcase Settings - - The settings starts with the end of one of the markers listed below - and continues until the end of the line. - - __DSTRESS_DFLAGS__ - additional compiler arguments - default: /empty/ - __DSTRESS_EFILE__ - expected failing source file - default: if __DSTRESS_ELINE__ isn't empty /current source file/, - else /empty/ - __DSTRESS_ELINE__ - expected failing source line - default: /empty/ - __GDB_PATTERN__ - expected regular expression in GDB's output - default: /empty/ - __GDB_SCRIPT__ - GDB command sequence - note: replace linebreaks by /\n/ - default: /empty/ - - - ^ <#top> Testing - - Testcases that are newer than the result file are ignored. - - Posix Systems: AIX, Apple, BSD, Linux, Unix - - Requirements - a C compiler - dstress.c <./dstress.c> - crashRun.c <./crashRun.c> - a D compiler - GnuMake version 3.80 or later (optional) - Step-by-Step (without GnuMake) - - 1. compile /dstress.c/ - -gcc -o dstress dstress.c - - 2. compile /crashRun.c/ - -gcc -o crashRun crashRun.c - - 3. test D compiler: - -./dstress compile compile/const_12.d - - 4. test linker and shell: - -./dstress run run/main_02.d - - 5. start testing: - -./dstress [compile|nocompile|run|norun] testfile.d 2>> log.txt >> results.txt - - Step-by-Step (with GnuMake) - - 1. clean-up: - -make distclean - - 2. start testing: - -make all > results - - Windows Systems - - Requirements - a C compiler - dstress.c <./dstress.c> - a D compiler - Restrictions - no eternal-loop protection - no proper Access Violation detection - Access Violations might cause pop-ups requiring human - interaction - Step-by-Step - - 1. make sure you understand the restrictions - <#windows-restrictions> - 2. open dstress.c, search for /#error comment me out/ and - follow the instruction - 3. compile /dstress.c/ - -dmc -o dstress dstress.c - - 4. test D compiler: - -dstress compile compile\const_12.d - - 5. test linker and shell: - -dstress run run\main_02.d - - 6. start testing: - -dstress [compile|nocompile|run|norun] testfile.d 2>> log.txt >> results.txt - - - ^ <#top> Report Generation - - Requirements - - * a Java compiler - * GenReport.java <./www/GenReport.java> - * at least one logfile - - Step-by-Step - - 1. compile the reporter class - -javac GenReporter.java - - 2. feed the logfile(s) to the reporter class - -java cn.kuehne.dmd.dstress.GenReport results1 results2 > report.raw - - 3. sort and insert /report.raw/ with apropiate HTML tags into - a HTML file - - Notes - - * the output is unsorted - * one or more result-files can be feed to the reporter class - * lines containing statistic data are marked by // - * use /...resultfile/ instead of /resultfile/ to mark all - FAIL, XPASS, ERROR testcases of this logfile by // - * more than one resultfile can be marked - - - ^ <#top> Sourcecode Metadata - - Metadata starts with one of the markers listed below and continues - until the end of the line. - - @author@ - the bug/testcase reporter - common format: /Name / - @date@ - first report date - common format: /year-month-day/ - @uri@ - the message id of the email/newsgroup message or the webpage - common format: /news:msg-id@host/ or /http://host/page/ - @WARNING@ - marks testcases with external dependencies or - architecture/compiler specific data - common format: /descriptive text/ - - - ------------------------------------------------------------------------- -http://dstress.kuehne.cn/readme.html; 2005-08-21; Webmaster -