Lines Matching refs:LTPROOT
79 export LTPROOT=${PWD}
81 export PATH="${PATH}:${LTPROOT}/testcases/bin:${LTPROOT}/bin"
85 [ -d "$LTPROOT/testcases/bin" ] ||
92 [ -e "$LTPROOT/bin/ltp-pan" ] ||
102 cat "$LTPROOT/Version"
113 -N -n [ -o OUTPUTFILE ] -p -q -Q [ -r LTPROOT ] [ -s PATTERN ] [ -t DURATION ]
225 version_date=$(cat "$LTPROOT/Version")
238 $LTPROOT/testcases/bin/genload --cpu $NUM_PROCS >/dev/null 2>&1 &
246 FAILCMDFILE="-C $LTPROOT/output/$OPTARG"
255 TCONFCMDFILE="-T $LTPROOT/output/$OPTARG"
290 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
294 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
323 HTMLFILE="$LTPROOT/output/$OPTARG"
336 $LTPROOT/testcases/bin/genload --io $NUM_PROCS >/dev/null 2>&1 &
344 DMESG_DIR="$LTPROOT/output/$OPTARG-dmesg-output-`echo $$-``date +%X | tr -d ' '`";;
354 LOGFILE="-l $LTPROOT/results/$OPTARG"
386 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
390 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
405 OUTPUTFILE="-o $LTPROOT/output/$OPTARG"
415 r) LTPROOT=$OPTARG;;
425 SKIPFILE="$LTPROOT/$OPTARG";;
459 LOGFILE="-l $LTPROOT/results/LTP_RUN_ON-$LOGFILE_NAME.log"
471 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
474 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
478 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
487 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
490 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
494 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
503 OUTPUTFILE="-o $LTPROOT/output/LTP_RUN_ON-$OUTPUTFILE_NAME.output"
511 [ ! -d $LTPROOT/output ] && \
513 echo "INFO: creating $LTPROOT/output directory"
514 mkdir -p $LTPROOT/output || \
516 echo "ERROR: failed to create $LTPROOT/output"
525 [ ! -d $LTPROOT/results ] && \
527 echo "INFO: creating $LTPROOT/results directory"
528 mkdir -p $LTPROOT/results || \
530 echo "ERROR: failed to create $LTPROOT/results"
578 SCENARIO_LISTS="$LTPROOT/scenario_groups/default"
580 SCENARIO_LISTS="$LTPROOT/scenario_groups/network"
591 scenfile=${LTPROOT}/runtest/$scenfile
608 [ -f "$scenfile" ] || scenfile="$LTPROOT/runtest/$scenfile"
638 cat ${LTPROOT}/runtest/fsx >> ${TMP}/alltests ||
661 ${LTPROOT}/IDcheck.sh || \
670 ${LTPROOT}/ver_linux || \
711 …PAN_COMMAND="${LTPROOT}/bin/ltp-pan $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a ${ZOOFILE} \
765 -f ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.awk \
783 -f ${LTPROOT}/bin/create_valgrind_check.awk \
800 -f ${LTPROOT}/bin/create_dmesg_entries_for_each_test.awk \
806 cd "${LTPROOT}/testcases/bin"
807 …"${LTPROOT}/bin/ltp-pan" $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a ${ZOOFILE} -n $$ $PRET…
841 LOGS_DIRECTORY="$LTPROOT/results"
842 export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
845 …( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output…
854 …$ALT_HTML_OUT" -ne 1 ] ; then ## The HTML file path is absolute and not $LTPROOT/output
855 mkdir -p $LTPROOT/output ## We need to create this Directory
856 cp $HTMLFILE_NAME $LTPROOT/output/
860 …LT_DIR_OUT" -ne 1 ] ; then ## The Output file path is absolute and not $LTPROOT/output
861 mkdir -p $LTPROOT/output ## We need to create this Directory
862 cp $OUTPUTFILE_NAME $LTPROOT/output/
866 …$ALT_DIR_RES" -ne 1 ] ; then ## The Log file path is absolute and not $LTPROOT/results
867 mkdir -p $LTPROOT/results ## We need to create this Directory
868 cp $LOGFILE_NAME $LTPROOT/results/
871 if [ -d $LTPROOT/output ] ; then
872 tar -cf ./$TAR_FILE_NAME $LTPROOT/output
874 echo "Created TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/output"
876 echo "Cannot Create TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/output"
879 if [ -d $LTPROOT/results ] ; then
880 tar -uf ./$TAR_FILE_NAME $LTPROOT/results
882 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/results"
884 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/results"
887 …if [ -e $LTPROOT/nohup.out ] ; then ## If User would have Chosen nohup to do ltprun
888 tar -uf ./$TAR_FILE_NAME $LTPROOT/nohup.out
890 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/nohup.out"
892 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/nohup.out"