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 ]
223 version_date=$(cat "$LTPROOT/Version")
236 $LTPROOT/testcases/bin/genload --cpu $NUM_PROCS >/dev/null 2>&1 &
244 FAILCMDFILE="-C $LTPROOT/output/$OPTARG"
253 TCONFCMDFILE="-T $LTPROOT/output/$OPTARG"
288 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
292 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
321 HTMLFILE="$LTPROOT/output/$OPTARG";;
334 $LTPROOT/testcases/bin/genload --io $NUM_PROCS >/dev/null 2>&1 &
342 DMESG_DIR="$LTPROOT/output/$OPTARG-dmesg-output-`echo $$-``date +%X | tr -d ' '`";;
352 LOGFILE="-l $LTPROOT/results/$OPTARG"
384 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
388 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
403 OUTPUTFILE="-o $LTPROOT/output/$OPTARG"
413 r) LTPROOT=$OPTARG;;
423 SKIPFILE="$LTPROOT/$OPTARG";;
456 LOGFILE="-l $LTPROOT/results/LTP_RUN_ON-$LOGFILE_NAME.log"
468 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
471 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
475 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
484 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
487 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
491 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
500 OUTPUTFILE="-o $LTPROOT/output/LTP_RUN_ON-$OUTPUTFILE_NAME.output"
504 HTMLFILE="$LTPROOT/output/$HTMLFILE_NAME.html"
512 [ ! -d $LTPROOT/output ] && \
514 echo "INFO: creating $LTPROOT/output directory"
515 mkdir -p $LTPROOT/output || \
517 echo "ERROR: failed to create $LTPROOT/output"
525 echo "INFO: creating $LTPROOT/results directory"
526 [ ! -d $LTPROOT/results ] && \
528 mkdir -p $LTPROOT/results || \
530 echo "ERROR: failed to create $LTPROOT/results"
576 SCENARIO_LISTS="$LTPROOT/scenario_groups/default"
578 SCENARIO_LISTS="$LTPROOT/scenario_groups/network"
589 scenfile=${LTPROOT}/runtest/$scenfile
606 [ -f "$scenfile" ] || scenfile="$LTPROOT/runtest/$scenfile"
636 cat ${LTPROOT}/runtest/fsx >> ${TMP}/alltests ||
659 ${LTPROOT}/IDcheck.sh || \
668 ${LTPROOT}/ver_linux || \
709 PAN_COMMAND="${LTPROOT}/bin/ltp-pan $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a $$ \
763 -f ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.awk \
781 -f ${LTPROOT}/bin/create_valgrind_check.awk \
798 -f ${LTPROOT}/bin/create_dmesg_entries_for_each_test.awk \
804 cd "${LTPROOT}/testcases/bin"
805 …"${LTPROOT}/bin/ltp-pan" $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a $$ -n $$ $PRETTY_PRT -…
839 LOGS_DIRECTORY="$LTPROOT/results"
840 export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
843 …( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output…
852 …$ALT_HTML_OUT" -ne 1 ] ; then ## The HTML file path is absolute and not $LTPROOT/output
853 mkdir -p $LTPROOT/output ## We need to create this Directory
854 cp $HTMLFILE_NAME $LTPROOT/output/
858 …LT_DIR_OUT" -ne 1 ] ; then ## The Output file path is absolute and not $LTPROOT/output
859 mkdir -p $LTPROOT/output ## We need to create this Directory
860 cp $OUTPUTFILE_NAME $LTPROOT/output/
864 …$ALT_DIR_RES" -ne 1 ] ; then ## The Log file path is absolute and not $LTPROOT/results
865 mkdir -p $LTPROOT/results ## We need to create this Directory
866 cp $LOGFILE_NAME $LTPROOT/results/
869 if [ -d $LTPROOT/output ] ; then
870 tar -cf ./$TAR_FILE_NAME $LTPROOT/output
872 echo "Created TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/output"
874 echo "Cannot Create TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/output"
877 if [ -d $LTPROOT/results ] ; then
878 tar -uf ./$TAR_FILE_NAME $LTPROOT/results
880 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/results"
882 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/results"
885 …if [ -e $LTPROOT/nohup.out ] ; then ## If User would have Chosen nohup to do ltprun
886 tar -uf ./$TAR_FILE_NAME $LTPROOT/nohup.out
888 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/nohup.out"
890 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/nohup.out"