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 ]
224 version_date=$(cat "$LTPROOT/Version")
237 $LTPROOT/testcases/bin/genload --cpu $NUM_PROCS >/dev/null 2>&1 &
245 FAILCMDFILE="-C $LTPROOT/output/$OPTARG"
254 TCONFCMDFILE="-T $LTPROOT/output/$OPTARG"
289 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
293 $LTPROOT/testcases/bin/genload --hdd $NUM_PROCS --hdd-files \
322 HTMLFILE="$LTPROOT/output/$OPTARG";;
335 $LTPROOT/testcases/bin/genload --io $NUM_PROCS >/dev/null 2>&1 &
343 DMESG_DIR="$LTPROOT/output/$OPTARG-dmesg-output-`echo $$-``date +%X | tr -d ' '`";;
353 LOGFILE="-l $LTPROOT/results/$OPTARG"
385 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
389 $LTPROOT/testcases/bin/genload --vm $NUM_PROCS --vm-chunks \
404 OUTPUTFILE="-o $LTPROOT/output/$OPTARG"
414 r) LTPROOT=$OPTARG;;
424 SKIPFILE="$LTPROOT/$OPTARG";;
457 LOGFILE="-l $LTPROOT/results/LTP_RUN_ON-$LOGFILE_NAME.log"
469 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
472 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
476 FAILCMDFILE="-C $LTPROOT/output/LTP_RUN_ON-$FAILED_FILE_NAME.failed"
485 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
488 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
492 TCONFCMDFILE="-T $LTPROOT/output/LTP_RUN_ON-${TCONF_FILE_NAME}.tconf"
501 OUTPUTFILE="-o $LTPROOT/output/LTP_RUN_ON-$OUTPUTFILE_NAME.output"
505 HTMLFILE="$LTPROOT/output/$HTMLFILE_NAME.html"
513 [ ! -d $LTPROOT/output ] && \
515 echo "INFO: creating $LTPROOT/output directory"
516 mkdir -p $LTPROOT/output || \
518 echo "ERROR: failed to create $LTPROOT/output"
526 echo "INFO: creating $LTPROOT/results directory"
527 [ ! -d $LTPROOT/results ] && \
529 mkdir -p $LTPROOT/results || \
531 echo "ERROR: failed to create $LTPROOT/results"
577 SCENARIO_LISTS="$LTPROOT/scenario_groups/default"
579 SCENARIO_LISTS="$LTPROOT/scenario_groups/network"
590 scenfile=${LTPROOT}/runtest/$scenfile
607 [ -f "$scenfile" ] || scenfile="$LTPROOT/runtest/$scenfile"
637 cat ${LTPROOT}/runtest/fsx >> ${TMP}/alltests ||
660 ${LTPROOT}/IDcheck.sh || \
669 ${LTPROOT}/ver_linux || \
710 PAN_COMMAND="${LTPROOT}/bin/ltp-pan $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a $$ \
764 -f ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.awk \
782 -f ${LTPROOT}/bin/create_valgrind_check.awk \
799 -f ${LTPROOT}/bin/create_dmesg_entries_for_each_test.awk \
805 cd "${LTPROOT}/testcases/bin"
806 …"${LTPROOT}/bin/ltp-pan" $QUIET_MODE $NO_KMSG -e -S $INSTANCES $DURATION -a $$ -n $$ $PRETTY_PRT -…
840 LOGS_DIRECTORY="$LTPROOT/results"
841 export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
844 …( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output…
853 …$ALT_HTML_OUT" -ne 1 ] ; then ## The HTML file path is absolute and not $LTPROOT/output
854 mkdir -p $LTPROOT/output ## We need to create this Directory
855 cp $HTMLFILE_NAME $LTPROOT/output/
859 …LT_DIR_OUT" -ne 1 ] ; then ## The Output file path is absolute and not $LTPROOT/output
860 mkdir -p $LTPROOT/output ## We need to create this Directory
861 cp $OUTPUTFILE_NAME $LTPROOT/output/
865 …$ALT_DIR_RES" -ne 1 ] ; then ## The Log file path is absolute and not $LTPROOT/results
866 mkdir -p $LTPROOT/results ## We need to create this Directory
867 cp $LOGFILE_NAME $LTPROOT/results/
870 if [ -d $LTPROOT/output ] ; then
871 tar -cf ./$TAR_FILE_NAME $LTPROOT/output
873 echo "Created TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/output"
875 echo "Cannot Create TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/output"
878 if [ -d $LTPROOT/results ] ; then
879 tar -uf ./$TAR_FILE_NAME $LTPROOT/results
881 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/results"
883 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/results"
886 …if [ -e $LTPROOT/nohup.out ] ; then ## If User would have Chosen nohup to do ltprun
887 tar -uf ./$TAR_FILE_NAME $LTPROOT/nohup.out
889 echo "Updated TAR File: ./$TAR_FILE_NAME successfully, added $LTPROOT/nohup.out"
891 echo "Cannot Update TAR File: ./$TAR_FILE_NAME for adding $LTPROOT/nohup.out"