# HG changeset patch # User thomask # Date 1173370814 0 # Node ID b8ff6a83c27faf680d7e56f4b8fb8b6e23f6af8a # Parent 669688cd3395fcda60ea9d396ec4885496f14250 Dstress on Mac OS X Anders F Bj?rklund 2007-03-08 email:dd8a3d4db0d92fc8dcbfc0b01c368306@algonet.se diff -r 669688cd3395 -r b8ff6a83c27f Makefile --- a/Makefile Thu Mar 08 16:19:55 2007 +0000 +++ b/Makefile Thu Mar 08 16:20:14 2007 +0000 @@ -146,7 +146,8 @@ # target should fail to compile # nocompile : $(dstress__) nocompile_clean - find nocompile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-nocompile" > nocompile.sh + echo '#!/bin/sh' > nocompile.sh + find nocompile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-nocompile" >> nocompile.sh chmod +x nocompile.sh ./nocompile.sh 2>> $(LOG) @@ -175,7 +176,8 @@ # target should compile (excludes linking) # compile : $(dstress__) compile_clean - find compile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-compile" > compile.sh + echo '#!/bin/sh' > compile.sh + find compile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-compile" >> compile.sh chmod +x compile.sh ./compile.sh 2>> $(LOG) @@ -202,7 +204,8 @@ # target should compile, link and run # run : $(dstress__) run_clean - find run -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-run" > run.sh + echo '#!/bin/sh' > run.sh + find run -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-run" >> run.sh chmod +x run.sh ./run.sh 2>> $(LOG) @@ -270,7 +273,8 @@ # target should compile and link but fail to run # norun : $(dstress__) norun_clean - find norun -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-norun" > norun.sh + echo '#!/bin/sh' > norun.sh + find norun -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-norun" >> norun.sh chmod +x norun.sh ./norun.sh 2>> $(LOG)