mirror of https://github.com/CGAL/cgal
cgal_test file that shows that ulimit -t is not working on Cygwin. :-(
This commit is contained in:
parent
530f6e61a7
commit
58c914e064
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue