digitalmars.D.bugs - [OT] wanted: Makefile porter for DStress->Windows
- Thomas Kuehne (9/9) Oct 24 2004 Hi everyone,
- J C Calvarese (11/24) Nov 16 2004 Are you still looking for help towards this goal?
- Thomas Kuehne (14/28) Nov 16 2004 This would be sweet ;) You can find the up-to-date Makefile at:
- J C Calvarese (27/50) Nov 21 2004 Okay, I think it's close enough to let you try my program.
- Thomas Kuehne (47/83) Nov 22 2004 As std.recls is on strike ... I can't test it :{
- J C Calvarese (12/29) Nov 22 2004 I wonder if std.recls is compiled into the Linux version of Phobos. I
- Thomas Kuehne (11/18) Nov 23 2004 I played around with recls(1.5.2) and stlsoft-libs(1.7.1) but couldn't
Hi everyone, I am looking for someone willing to port a GNUMakefile (7.229 Bytes/239 lines) to a make format supported by the make.exe distributed with dmd. (For the beginning all lines containing "complex" can be ignored as well as all "complex.mak" files.) It would be realy nice to be able to compare regression & bug tests results from Linux and Windows. http://dmd.kuehne.cn/dstress.html Thomas Kuehne
Oct 24 2004
Thomas Kuehne wrote:Hi everyone, I am looking for someone willing to port a GNUMakefile (7.229 Bytes/239 lines) to a make format supported by the make.exe distributed with dmd. (For the beginning all lines containing "complex" can be ignored as well as all "complex.mak" files.) It would be realy nice to be able to compare regression & bug tests results from Linux and Windows.Are you still looking for help towards this goal? I'm no expert with makefiles, but I think I could rig-up a program to generate a batch file to output parallel results for Windows (based on the contents of a directory). What does the resulting file look like? I don't have Linux set up on my machine, so I can't just run it and find out what the produced file looks like.http://dmd.kuehne.cn/dstress.html Thomas Kuehne-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Nov 16 2004
J C Calvarese schrieb am Tue, 16 Nov 2004 17:22:08 -0600:Yes.I am looking for someone willing to port a GNUMakefile (7.229 Bytes/239 lines) to a make format supported by the make.exe distributed with dmd. (For the beginning all lines containing "complex" can be ignored as well as all "complex.mak" files.) It would be realy nice to be able to compare regression & bug tests results from Linux and Windows.Are you still looking for help towards this goal?I'm no expert with makefiles, but I think I could rig-up a program to generate a batch file to output parallel results for Windows (based on the contents of a directory).This would be sweet ;) You can find the up-to-date Makefile at: http://svn.kuehne.cn/dstress/ For every test case the file is scanned for "__DSTRESS_DFLAGS__", and - if found - anything following it till the next line break is used as additional compiler flags. For those additional flags you probably have to replace "/" with "\\". See run/constructor_04.d for a sample.What does the resulting file look like? I don't have Linux set up on my machine, so I can't just run it and find out what the produced file looks like.A bunch of raw result files: http://svn.kuehne.cn/dstress/raw_results/ In addition any other output - e.g. compiler errors, wrong assertions, etc. - gets appended to the "log.txt" file. Thanks for your interest. Thomas
Nov 16 2004
Thomas Kuehne wrote:J C Calvarese schrieb am Tue, 16 Nov 2004 17:22:08 -0600:Okay, I think it's close enough to let you try my program. You might want to change the name of the output files and where my program is located (and I can help you with that if you want). I've attached dstresstest.d and create_test.bat. All the other files should be created by running create_test.bat and then running test.bat. All of these files are located in \dstress on my system. They can be placed elsewhere, but it'll require changing some code. dstresstest.d source code create_test.bat compiles dstresstest and creates test.bat dstresstest.exe produced by running create_test.bat test.bat produced by dstresstest.exe win32_log.txt produced by test.bat (logFile) win32_dmd.txt produced by test.bat (resultFile) How does it look? I'm sure I could've done some things in the code differently, but I think the concept is valid and it works. In the process of writing this program, I think I might have found a bug in DMD, but I found a work-around. Line 198 shouldn't be necessary (and it slows down the program), but the program doesn't work without it. I wonder if the problem is the string gets too long, but printing it "fixes" the problem. I guess I'll try to nail down why the work-around is required, but it strikes me as a compiler bug and I always have a hard time producing a sufficiently short bug report. -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/Yes.I am looking for someone willing to port a GNUMakefile (7.229 Bytes/239 lines) to a make format supported by the make.exe distributed with dmd. (For the beginning all lines containing "complex" can be ignored as well as all "complex.mak" files.) It would be realy nice to be able to compare regression & bug tests results from Linux and Windows.Are you still looking for help towards this goal?I'm no expert with makefiles, but I think I could rig-up a program to generate a batch file to output parallel results for Windows (based on the contents of a directory).This would be sweet ;) You can find the up-to-date Makefile at: http://svn.kuehne.cn/dstress/
Nov 21 2004
J C Calvarese schrieb am Sun, 21 Nov 2004 18:46:45 -0600:As std.recls is on strike ... I can't test it :{ I've done some 'blind' editing. 1) Started to change ":", "\\", "\r\n" to OS independent pathSep, dirSep and lineSep. 2) The files in benchmark partly depend on eachother, thus trying to compile them as stand-alone files doesn't make sense. 3) The files in "complex" are special - no way to write a generic test code for them. 4) added shouldRun/shouldntRun as todo targets Hope I can get hold of a Windows box in order to try your code. Thomas begin 644 dstresstest.d.diff.gz M'XL(`)XJHD$"`]5845.C2!!^/GY%'P]W82$(,6J"Y9:[FKC6I<HMX]UME5H6 M;$G-XV/`><-N HZWA 7'QPKXTRB,&23,,[E1=WH(.Y] %,;0]0,"GW;*(CX= MP1_"EJ*[ >\FN:3))SP_[I/H<&TN4^3W2 '^CPOPNQ``!0B=3>$J?KP*3\)I MA/YV<$"!A0+\\D+*_J#AW MY+AI&0> -_?Q/\_P` VG+B*ZEV0XBQ/_7Q(\ NMY"1!W.(%P!&Q" *<I`9^* M3%U50`QG`7M)QYMZ%3J#V4CF-85X M"A-\-5\SM=,,W>_(Q9IF .JHFL1A$W%)8>U0*6K`:!8$7"2-<*ERC;9T&TP3 MLP?Q(C0A_'H6Y:6F<<=?!$<*&X(<KZ"2RZ7\*(/ACVI"^`CJMB;UY%I"%&3D M)9WEO`A`5+7L/=>6::*56^$[AZ!]P"&PK=T2'4H._"H<6)]>K`])Y/N(?+;` MG'9#U:KW/\D,VO:^2"'VQ>H4\FN`9>U^;8$(?' )40>$#B=3-[Y7G>H4I>7] M/&L1B&.YX9 KG>6%;&Q 1G::P^T"D3AC&`*;1E- LVM]`!MN,B`/_W=D:%C" MG\\S3/93MNRWC%8E)LMM!CSC#N_D%'A]RYOY,]S$-_2PK*6LE;1ZJ?NL1?D6 M6MHJ6 EN;(:3LAEM4<)4Q/NZ84<IMS[EC8;0%^I9[4_KN``3-QXV'HKLEF6T MJORKG5Z_(VU]_]+O._"V+37+Y)L^<[,F6A$FY48WT]5?(N(J&U:X0(*$K(XL M8'U]O8LQ>=W1WL&&7,G9>#M4Q0KZ.ULEANSFK?V4&FT\YNZ^7'TVX4=*C^WY M4>;(CY0D'^'(1WE2X(I>W Z])X58$IUW*%2(PZ+"NXK0X"KTP )FIFEFL"VC M71[W89.54;$Z\A6R25!R(^%L+,R_'U0`L&EZH7_O1Y%/QV_A4,&:)RB]UR,C M%]GF;(I_?QC[$8.O?YYMFX42M9X*=?])6=F+-^RV83=`;^"F"N_IH9(W-7D6 M7YYKY$""E2>?R\\ERTD),C]/B3XF/F^((VGAXT9"(C=V\2?4=K3<.7Z AX$[ MO$\"-YE`[483WZ?0`2^<)X5XEI\X8L)F,<T^C=42/+WNJ*M'V!=$EJ=7\>U' *^0_;;)N`(!0````` ` endOkay, I think it's close enough to let you try my program. You might want to change the name of the output files and where my program is located (and I can help you with that if you want). I've attached dstresstest.d and create_test.bat. All the other files should be created by running create_test.bat and then running test.bat. All of these files are located in \dstress on my system. They can be placed elsewhere, but it'll require changing some code. dstresstest.d source code create_test.bat compiles dstresstest and creates test.bat dstresstest.exe produced by running create_test.bat test.bat produced by dstresstest.exe win32_log.txt produced by test.bat (logFile) win32_dmd.txt produced by test.bat (resultFile) How does it look? I'm sure I could've done some things in the code differently, but I think the concept is valid and it works.Yes.I am looking for someone willing to port a GNUMakefile (7.229 Bytes/239 lines) to a make format supported by the make.exe distributed with dmd. (For the beginning all lines containing "complex" can be ignored as well as all "complex.mak" files.) It would be realy nice to be able to compare regression & bug tests results from Linux and Windows.Are you still looking for help towards this goal?I'm no expert with makefiles, but I think I could rig-up a program to generate a batch file to output parallel results for Windows (based on the contents of a directory).This would be sweet ;) You can find the up-to-date Makefile at: http://svn.kuehne.cn/dstress/
Nov 22 2004
Thomas Kuehne wrote:As std.recls is on strike ... I can't test it :{I wonder if std.recls is compiled into the Linux version of Phobos. I vaguely remember that there used to be a problem where it was left out of the make routine for the Linux version or something like that.I've done some 'blind' editing. 1) Started to change ":", "\\", "\r\n" to OS independent pathSep, dirSep and lineSep. 2) The files in benchmark partly depend on eachother, thus trying to compile them as stand-alone files doesn't make sense. 3) The files in "complex" are special - no way to write a generic test code for them. 4) added shouldRun/shouldntRun as todo targetsWell, it still runs after I patched your changes, so I don't see anything wrong with them. I'm attaching the latest results in case you want to examine them.Hope I can get hold of a Windows box in order to try your code.Oh, I didn't realize you didn't have access to a Windows machine. I just thought you prefered Linux.Thomas-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Nov 22 2004
J C Calvarese schrieb am Dienstag, 23. November 2004 02:18:I played around with recls(1.5.2) and stlsoft-libs(1.7.1) but couldn't compile them - neither with gcc-3.4.3 nor gcc-3.3.2 ...As std.recls is on strike ... I can't test it :{I wonder if std.recls is compiled into the Linux version of Phobos. I vaguely remember that there used to be a problem where it was left out of the make routine for the Linux version or something like that.Well, it still runs after I patched your changes, so I don't see anything wrong with them.Thanks for the results - As it turns out there were some issues. :D 1) I forgot a break statement 2) XFAIL and FAIL were mixed up 3) Stripped of the file ending in order to ease the table generation (*.html and *.htm are also valid source files) I have added your files to DStress: http://svn.kuehne.cn/dstress/beta/ Thomas
Nov 23 2004