mirror of https://github.com/CGAL/cgal
Better treatment of ULIMIT_OPTIONS
Previously, the shell variable was set in .autocgalrc, and its value was recopied as-is in the localtestscript file. Now ULIMIT_OPTIONS can be set in the "setup" file of a testsuite platform in the reference platforms directory.
This commit is contained in:
parent
7891bf3c27
commit
bf5f124a97
|
|
@ -646,7 +646,11 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd '${CGAL_BINARY_DIR}/test';
|
cd '${CGAL_BINARY_DIR}/test';
|
||||||
[ -n "${ULIMIT_OPTIONS}" ] && ulimit ${ULIMIT_OPTIONS};
|
if [ -n "\${ULIMIT_OPTIONS}" ]; then
|
||||||
|
eval ulimit \${ULIMIT_OPTIONS};
|
||||||
|
else
|
||||||
|
[ -n "${ULIMIT_OPTIONS}" ] && ulimit ${ULIMIT_OPTIONS};
|
||||||
|
fi
|
||||||
nice ${NICE_OPTIONS} make ${MAKE_OPTS} -k -fmakefile2;
|
nice ${NICE_OPTIONS} make ${MAKE_OPTS} -k -fmakefile2;
|
||||||
EOF
|
EOF
|
||||||
for file in "${CGAL_BINARY_DIR}/localtestscript" "${CGAL_BINARY_DIR}/localtestscript-redo-results-collection"; do
|
for file in "${CGAL_BINARY_DIR}/localtestscript" "${CGAL_BINARY_DIR}/localtestscript-redo-results-collection"; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue