cgal_test file that shows that ulimit -t is not working on Cygwin. :-(

This commit is contained in:
Laurent Rineau 2010-08-30 13:02:59 +00:00
parent 530f6e61a7
commit 58c914e064
1 changed files with 3 additions and 3 deletions

View File

@ -28,10 +28,10 @@ compile_and_run()
if true ; then
OUTPUTFILE=ProgramOutput.$1.$PLATFORM
rm -f $OUTPUTFILE
COMMAND="procbench -m"
COMMAND="echo 'scale=5000; 4*a(1)' | time bc -l"
echo "Executing $1 ... "
echo
ulimit -t 100 2> /dev/null
ulimit -t 2 2> /dev/null
if eval $COMMAND > $OUTPUTFILE 2>&1 ; then
echo " successful execution of $1" >> $ERRORFILE
else
@ -54,7 +54,7 @@ touch $ERRORFILE
# configure, compile and run the tests
#---------------------------------------------------------------------#
compile_and_run
compile_and_run bc
#
# The clean target generated by CMake under cygwin