mirror of https://github.com/CGAL/cgal
Remove 'tee' redirection
This commit is contained in:
parent
307eedf236
commit
45b476a299
|
|
@ -131,7 +131,7 @@ put_on_web()
|
||||||
{
|
{
|
||||||
echo "Uploading results ${1} to $UPLOAD_RESULT_DESTINATION/$2"
|
echo "Uploading results ${1} to $UPLOAD_RESULT_DESTINATION/$2"
|
||||||
|
|
||||||
"$SCP" "${1}" "$UPLOAD_RESULT_DESTINATION"/$2 | tee -a ${ACTUAL_LOGFILE} 2>&1
|
"$SCP" "${1}" "$UPLOAD_RESULT_DESTINATION"/$2 >> ${ACTUAL_LOGFILE} 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
error()
|
error()
|
||||||
|
|
@ -217,7 +217,7 @@ build_cgal_libs()
|
||||||
|
|
||||||
remote_command ${1} "cd ${CGAL_BINARY_DIR}; \
|
remote_command ${1} "cd ${CGAL_BINARY_DIR}; \
|
||||||
cmake -DWITH_demo=FALSE -DWITH_examples=FALSE -DWITH_CGALPDB=FALSE ../../..; \
|
cmake -DWITH_demo=FALSE -DWITH_examples=FALSE -DWITH_CGALPDB=FALSE ../../..; \
|
||||||
make -fMakefile" | tee -a ${ACTUAL_LOGFILE} 2>&1
|
make -fMakefile" >> ${ACTUAL_LOGFILE} 2>&1
|
||||||
|
|
||||||
if [ -f "${CGAL_BINARY_DIR}/CMakeFiles/CMakeError.log" ]; then
|
if [ -f "${CGAL_BINARY_DIR}/CMakeFiles/CMakeError.log" ]; then
|
||||||
cp ${CGAL_BINARY_DIR}/CMakeFiles/CMakeError.log ${CGAL_TEST_DIR}/CMakeError_${i}.log
|
cp ${CGAL_BINARY_DIR}/CMakeFiles/CMakeError.log ${CGAL_TEST_DIR}/CMakeError_${i}.log
|
||||||
|
|
@ -286,7 +286,7 @@ cd ..;
|
||||||
rm -rf ${CGAL_BINARY_DIR}/test
|
rm -rf ${CGAL_BINARY_DIR}/test
|
||||||
EOF
|
EOF
|
||||||
chmod ugo+x ${CGAL_BINARY_DIR}/localtestscript.${1}
|
chmod ugo+x ${CGAL_BINARY_DIR}/localtestscript.${1}
|
||||||
remote_command ${1} "${CGAL_BINARY_DIR}/localtestscript.${1}" | tee -a ${ACTUAL_LOGFILE}.${1} 2>&1
|
remote_command ${1} "${CGAL_BINARY_DIR}/localtestscript.${1}" >> ${ACTUAL_LOGFILE}.${1} 2>&1
|
||||||
log_done ${ACTUAL_LOGFILE}.${1}
|
log_done ${ACTUAL_LOGFILE}.${1}
|
||||||
#
|
#
|
||||||
# collect results and put them on the web
|
# collect results and put them on the web
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
# Usage: cgal_create_cmake_script [-options]
|
# Usage: cgal_create_cmake_script [-options]
|
||||||
#
|
#
|
||||||
# -d create a default CGAL cmake script
|
# -d create a default CGAL cmake script
|
||||||
# -t create a CGAL cmake script for the test suite
|
|
||||||
# -q create a CGAL cmake script with Qt support
|
# -q create a CGAL cmake script with Qt support
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -136,7 +135,6 @@ usage()
|
||||||
echo "Usage: cgal_create_cmake_script [-options]"
|
echo "Usage: cgal_create_cmake_script [-options]"
|
||||||
echo
|
echo
|
||||||
echo "-d create a default CGAL CMake script"
|
echo "-d create a default CGAL CMake script"
|
||||||
echo "-t create a CGAL CMake script for the test suite"
|
|
||||||
echo "-q create a CGAL CMake script with Qt support"
|
echo "-q create a CGAL CMake script with Qt support"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -150,7 +148,6 @@ esac
|
||||||
for i do
|
for i do
|
||||||
case $i in
|
case $i in
|
||||||
-d) ;;
|
-d) ;;
|
||||||
-t) TESTSUITE='y';;
|
|
||||||
-q) QT='y';;
|
-q) QT='y';;
|
||||||
-*) usage
|
-*) usage
|
||||||
exit 1;;
|
exit 1;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue