# HG changeset patch # User thomask # Date 1164961305 0 # Node ID 5f46d690a3aa901c840a4581294f0976eda493c6 # Parent f882d5f15f9ef770a06936c537e6633ca1058d3c * updated results to 0.175 * removed old logs/results * log files are now bzip2'ed instead of gzip'ed (~ 40% smaller now) diff -r f882d5f15f9e -r 5f46d690a3aa makefile_porting.txt --- a/makefile_porting.txt Wed Nov 29 21:20:44 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -requires GnuMake, at least 3.80(2002-10-03) - -make run/command_line_debug_01.diagnose.exe - -= = = = = stdout = = = = = -# destination: run/command_line_debug_01.diagnose.exe -# source: run/command_line_debug_01.d -# eval: OK -# shell: -OK -# eval.shell: OK -# name: run/command_line_debug_01 -# extract__: ./extract__ -# extract__.cmd: ./extract__ __DSTRESS_DFLAGS__ < run/command_line_debug_01.d -# extract__.result: -debug -# ifeq__: ./ifeq__ -# continue if ifeq__ works -./ifeq__ someString someString -# return__: ./return__ -# dmd: dmd -# return__.return_code_0: 0 (expect=0) -# return__.return_code_1: 256 (expect=256) -# dmd.cmd: dmd -debug -odobj -ofrun/command_line_debug_01.diagnose.exe run/command_line_debug_01.d >> /tmp/dstress/log.txt 2>&1 -# dmd.return: 0 -# for analyse_run diagnosis: '@if' -> 'if' in 'define analyse_run' (line 185) -PASS: run/command_line_debug_01 - -= = = = = log.txt = = = = = -gcc obj/command_line_debug_01.o -o run/command_line_debug_01.diagnose.exe -lphobos -lpthread -lm diff -r f882d5f15f9e -r 5f46d690a3aa run/s/scope_16_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/s/scope_16_A.d Fri Dec 01 08:21:45 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +module dstress.run.s.scope_16_A; + +int main(){ + scope x = 1.2; + static assert(is(typeof(x) == double)); + + x++; + if(x != 2.2){ + assert(0); + } + return 0; +} diff -r f882d5f15f9e -r 5f46d690a3aa run/s/scope_16_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/s/scope_16_B.d Fri Dec 01 08:21:45 2006 +0000 @@ -0,0 +1,30 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +module dstress.run.s.scope_16_B; + +int status; + +class C{ + new(size_t s){ + status++; + return (new byte[s]).ptr; + } +} + +int main(){ + if(status != 0){ + assert(0); + } + C a = new C(); + if(status != 1){ + assert(0); + } + scope C b = new C(); + if(status != 1){ + assert(0); + } + + return 0; +} diff -r f882d5f15f9e -r 5f46d690a3aa todo.txt --- a/todo.txt Wed Nov 29 21:20:44 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - -see: -https://developer.berlios.de/pm/?group_id=2732 - diff -r f882d5f15f9e -r 5f46d690a3aa tools/extract_logs.sh --- a/tools/extract_logs.sh Wed Nov 29 21:20:44 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -rm -rf ./tmp2 -mkdir -p ./tmp2 - -for A in `ls ./raw_results/linux-amd64_*log.gz`; do - B=`echo $A | sed s/raw_results/tmp2/ | sed s/\.gz//` - gunzip < $A > $B - touch -r $A $B -done diff -r f882d5f15f9e -r 5f46d690a3aa tools/find_internal.sh --- a/tools/find_internal.sh Wed Nov 29 21:20:44 2006 +0000 +++ b/tools/find_internal.sh Fri Dec 01 08:21:45 2006 +0000 @@ -1,3 +1,3 @@ #!/bin/sh -gzcat $* | grep '\(\.c[ :]\)\|\(\.cc[ :]\)' | sort -u +bzcat $* | grep '\(\.c[ :]\)\|\(\.cc[ :]\)' | sort -u diff -r f882d5f15f9e -r 5f46d690a3aa tools/gen_report.sh --- a/tools/gen_report.sh Wed Nov 29 21:20:44 2006 +0000 +++ b/tools/gen_report.sh Fri Dec 01 08:21:45 2006 +0000 @@ -1,83 +1,17 @@ #!/bin/bash -./log genReport . \ - --./tmp2/linux-amd64_dmd-0.167.log \ - ./tmp2/linux-amd64_dmd-0.166.log \ - ./tmp2/linux-amd64_dmd-0.165.log \ - ./tmp2/linux-amd64_dmd-0.164.log \ - ./tmp2/linux-amd64_dmd-0.163.log \ - --./tmp2/linux-amd64_gdc-0.19.log \ - ./tmp2/linux-amd64_dmd-0.162.log \ - ./tmp2/linux-amd64_dmd-0.161.log +rm -rf ./tmp2 +mkdir -p ./tmp2 -mv www/results.html www/results.short.html +for A in `ls ./raw_results/linux-amd64_dmd-0.17*bz2 raw_results/linux-amd64_gdc-0.19.log.bz2`; do + B=`echo $A | sed s/raw_results/tmp2/ | sed s/\.bz2//` + bunzip2 < $A > $B + touch -r $A $B +done ./log genReport . \ - --./tmp2/linux-amd64_dmd-0.167.log \ - ./tmp2/linux-amd64_dmd-0.166.log \ - ./tmp2/linux-amd64_dmd-0.165.log \ - ./tmp2/linux-amd64_dmd-0.164.log \ - ./tmp2/linux-amd64_dmd-0.163.log \ - ./tmp2/linux-amd64_gdc-0.19.log \ - ./tmp2/linux-amd64_dmd-0.162.log \ - ./tmp2/linux-amd64_dmd-0.161.log \ - ./tmp2/linux-amd64_dmd-0.160.log \ - ./tmp2/linux-amd64_gdc-0.18.log \ - ./tmp2/linux-amd64_dmd-0.158.log \ - ./tmp2/linux-amd64_dmd-0.155.log \ - ./tmp2/linux-amd64_dmd-0.154.log \ - ./tmp2/linux-amd64_dmd-0.151.log \ - ./tmp2/linux-amd64_dmd-0.150.log \ - ./tmp2/linux-amd64_dmd-0.149.log \ - ./tmp2/linux-amd64_dmd-0.148.log \ - ./tmp2/linux-amd64_dmd-0.147.log \ - ./tmp2/linux-amd64_dmd-0.146.log \ - ./tmp2/linux-amd64_dmd-0.145.log \ - ./tmp2/linux-amd64_dmd-0.144.log \ - ./tmp2/linux-amd64_dmd-0.143.log \ - ./tmp2/linux-amd64_dmd-0.142.log \ - ./tmp2/linux-amd64_dmd-0.141.log \ - ./tmp2/linux-amd64_gdc-0.17.log \ - ./tmp2/linux-amd64_dmd-0.140.log \ - ./tmp2/linux-amd64_dmd-0.139.log \ - ./tmp2/linux-amd64_dmd-0.138.log \ - ./tmp2/linux-amd64_gdc-0.16.log \ - ./tmp2/linux-amd64_dmd-0.137.log \ - ./tmp2/linux-amd64_dmd-0.136.log \ - ./tmp2/linux-amd64_dmd-0.135.log \ - ./tmp2/linux-amd64_dmd-0.134.log \ - ./tmp2/linux-amd64_dmd-0.133.log \ - ./tmp2/linux-amd64_dmd-0.132.log \ - ./tmp2/linux-amd64_dmd-0.131.log \ - ./tmp2/linux-amd64_dmd-0.128.log \ - ./tmp2/linux-amd64_dmd-0.127.log \ - ./tmp2/linux-amd64_dmd-0.126.log \ - ./tmp2/linux-amd64_dmd-0.125.log \ - ./tmp2/linux-amd64_dmd-0.124.log \ - ./tmp2/linux-amd64_dmd-0.123.log \ - ./tmp2/linux-amd64_dmd-0.122.log \ - ./tmp2/linux-amd64_dmd-0.121.log \ - ./tmp2/linux-amd64_dmd-0.120.log \ - ./tmp2/linux-amd64_dmd-0.119.log \ - ./tmp2/linux-amd64_dmd-0.118.log \ - ./tmp2/linux-amd64_dmd-0.117.log \ - ./tmp2/linux-amd64_dmd-0.116.log \ - ./tmp2/linux-amd64_dmd-0.114.log \ - ./tmp2/linux-amd64_dmd-0.113.log \ - ./tmp2/linux-amd64_dmd-0.111.log \ - ./tmp2/linux-amd64_dmd-0.110.log \ - ./tmp2/linux-amd64_dmd-0.109.log \ - ./tmp2/linux-amd64_dmd-0.108.log \ - ./tmp2/linux-amd64_dmd-0.106.log \ - ./tmp2/linux-amd64_dmd-0.105.log \ - ./tmp2/linux-amd64_dmd-0.104.log \ - ./tmp2/linux-amd64_dmd-0.103.log \ - ./tmp2/linux-amd64_dmd-0.102.log \ - ./tmp2/linux-amd64_dmd-0.101.log \ - ./tmp2/linux-amd64_dmd-0.100.log \ - ./tmp2/linux-amd64_dmd-0.099.log \ - ./tmp2/linux-amd64_dmd-0.098.log \ - ./tmp2/linux-amd64_dmd-0.096.log \ - ./tmp2/linux-amd64_dmd-0.095.log \ - ./tmp2/linux-amd64_dmd-0.093.log + --./tmp2/linux-amd64_dmd-0.175.log \ + ./tmp2/linux-amd64_dmd-0.174.log \ + ./tmp2/linux-amd64_gdc-0.19.log +mv www/results.html www/results.short.html diff -r f882d5f15f9e -r 5f46d690a3aa update.sh --- a/update.sh Wed Nov 29 21:20:44 2006 +0000 +++ b/update.sh Fri Dec 01 08:21:45 2006 +0000 @@ -4,37 +4,31 @@ dmd -w -O log.d || exit 2 export PATH=.:/home/tk/misc/bin:$PATH -for DMD in gdmd-0.19 `cd /opt/dmd/bin/; ls dmd-0.* | grep -v 157 | grep -v 156 | sort -r`; do +for DMD in dmd-0.175 dmd-0.174 gdmd-0.19; do export DMD - if echo $DMD | grep "\\(0\\.138\\)\\|\\(0\\.139\\)\\|\\(0\\.14\\)\\|\\(gdmd\\)\\|\\(0\\.15\\)\\|\\(0\\.16\\)" > /dev/null 2>/dev/null; then - unset DSTRESS_TORTURE_BLOCK - else - DSTRESS_TORTURE_BLOCK=-fPIC - export DSTRESS_TORTURE_BLOCK - fi export DMDX=`echo $DMD | sed "s/gdmd/gdc/"` + make dstress - if test -f raw_results/linux-amd64_$DMDX.log.gz; then - echo "$DMD ($DMDX) - update build" - make dstress - gunzip < raw_results/linux-amd64_$DMDX.log.gz > raw_results/linux-amd64_$DMDX.log - touch -a -m -r raw_results/linux-amd64_$DMDX.log.gz raw_results/linux-amd64_$DMDX.log - ./log genUpdateList . raw_results/linux-amd64_$DMDX.log - if `cat raw_results/linux-amd64_$DMDX.log.update | grep -v "asm_[l-z]" | sort > update-list.sh`; then - rm -rf raw_results/linux-amd64_$DMDX.log.update - date -R > raw_results/linux-amd64_$DMDX - date -R > raw_results/linux-amd64_$DMDX.log - chmod +x update-list.sh - ./update-list.sh 2>> raw_results/linux-amd64_$DMDX 1>> raw_results/linux-amd64_$DMDX.log - gzip -9 < raw_results/linux-amd64_$DMDX.log >> raw_results/linux-amd64_$DMDX.log.gz - fi - else - echo "$DMD ($DMDX) - full build" + if test ! -f raw_results/linux-amd64_$DMDX.log.bz2; then + echo "$DMD ($DMDX) - complex build" make complex > raw_results/linux-amd64_$DMDX.log 2>&1 # make compile nocompile run norun >> raw_results/linux-amd64_$DMDX.log 2>&1 cat log.txt >> raw_results/linux-amd64_$DMDX.log - gzip -9 < raw_results/linux-amd64_$DMDX.log >> raw_results/linux-amd64_$DMDX.log.gz + bzip2 -9 < raw_results/linux-amd64_$DMDX.log >> raw_results/linux-amd64_$DMDX.log.bz2 + fi + + echo "$DMD ($DMDX) - update build" + bunzip2 < raw_results/linux-amd64_$DMDX.log.bz2 > raw_results/linux-amd64_$DMDX.log + touch -a -m -r raw_results/linux-amd64_$DMDX.log.bz2 raw_results/linux-amd64_$DMDX.log + ./log genUpdateList . raw_results/linux-amd64_$DMDX.log + if `cat raw_results/linux-amd64_$DMDX.log.update | grep -v "asm_p" | sort > update-list.sh`; then + rm -rf raw_results/linux-amd64_$DMDX.log.update + date -R > raw_results/linux-amd64_$DMDX + date -R > raw_results/linux-amd64_$DMDX.log + chmod +x update-list.sh + ./update-list.sh 2>> raw_results/linux-amd64_$DMDX 1>> raw_results/linux-amd64_$DMDX.log + bzip2 -9 < raw_results/linux-amd64_$DMDX.log >> raw_results/linux-amd64_$DMDX.log.bz2 fi rm -f raw_results/linux-amd64_$DMDX.log