Fix Location Of GENHTML Inside RUNLTP
PATCH 1/1 Fix Location Of GENHTML Inside RUNLTP
There are some bits and pieces of restructuring still left to be done. runltp is not able to call genhtml properly due to change in location of the same script. The following error will occur:
...
Generating HTML Output.....!!
Can't open perl script "/opt/ltp/tools/genhtml.pl": No such file or directory
...
Following patch fixes the same.
---
runltp renamed from runltp.orig +1 -1
@@ -846,7 +846,7 @@ main() export TEST_OUTPUT_DIRECTORY="$LTPROOT/output" export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY echo "Generating HTML Output.....!!" - ( perl $LTPROOT/tools/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) + ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) echo "Generated HTML Output.....!!" echo "Location: $HTMLFILE";
---
Regards--
Subrata
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 9 lines · Subrata Modak
There are some bits and pieces of restructuring still left to be done. runltp is not able to call genhtml properly due to change in location of the same script. The following error will occur:
...
Generating HTML Output.....!!
Can't open perl script "/opt/ltp/tools/genhtml.pl": No such file or directory
...
Quoted 4 lines
Following patch fixes the same.
Signed-off-by Subrata Modak <[email protected]>---
First of all, does this patch solve the issue at anybodyś side ? If yes, can this be included in April 2010 release ?
Regards--
Subrata
Quoted 13 lines
runltp renamed from runltp.orig +1
-2@@ -846,7 +846,7 @@ main() export TEST_OUTPUT_DIRECTORY="$LTPROOT/output" export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY echo "Generating HTML Output.....!!" - ( perl $LTPROOT/tools/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) + ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) echo "Generated HTML Output.....!!" echo "Location: $HTMLFILE"; ---
Quoted 3 lines
Regards--
Subrata
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 10 lines · Subrata Modak
Quoted 9 lines · Subrata Modak
There are some bits and pieces of restructuring still left to be done. runltp is not able to call genhtml properly due to change in location of the same script. The following error will occur:
...
Generating HTML Output.....!!
Can't open perl script "/opt/ltp/tools/genhtml.pl": No such file or directory
...
Quoted 7 lines
Quoted 4 lines
Following patch fixes the same.
Signed-off-by Subrata Modak <[email protected]>---
First of all, does this patch solve the issue at anybodyś side ? If yes, can this be included in April 2010 release ?
Is somebody looking into this patch ?
Regards--
Subrata
Quoted 16 lines
Regards--
SubrataQuoted 12 lines
runltp renamed from runltp.orig +1
-1@@ -846,7 +846,7 @@ main() export TEST_OUTPUT_DIRECTORY="$LTPROOT/output" export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY echo "Generating HTML Output.....!!" - ( perl $LTPROOT/tools/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) + ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY > $HTMLFILE; ) echo "Generated HTML Output.....!!" echo "Location: $HTMLFILE";
Quoted 11 lines
Quoted 4 lines
---
Regards--
Subrata------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Garrett Cooper
Acked-byQuoted 29 lines · Subrata Modak
Quoted 10 lines · Subrata Modak
Quoted 9 lines · Subrata Modak
There are some bits and pieces of restructuring still left to be done. runltp is not able to call genhtml properly due to change in location of the same script. The following error will occur:
...
Generating HTML Output.....!!
Can't open perl script "/opt/ltp/tools/genhtml.pl": No such file or directory
...Quoted 7 lines
Quoted 4 lines
Following patch fixes the same.
Signed-off-by Subrata Modak <[email protected]>---
First of all, does this patch solve the issue at anybodyś side ? If yes, can this be included in April 2010 release ?
Is somebody looking into this patch ?
Regards--
SubrataQuoted 5 lines
Regards--
SubrataQuoted 1 line
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
runltp 2010-04-21 22:49:10.901783445 +0530 renamed from runltp.orig 2010-04-21 22:48:58.223651440 +0530 +0
-0@@ -846,7 +846,7 @@ main()export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
echo "Generating HTML Output.....!!"
- ( perl$LTPROOT/tools/genhtml.pl$LTPROOT/tools/html_report_header.txttest_starttest_endtest_outputexecution_status$OUTPUT_DIRECTORY > $HTMLFILE; )
+ ( perl$LTPROOT/bin/genhtml.pl$LTPROOT/tools/html_report_header.txttest_starttest_endtest_outputexecution_status$OUTPUT_DIRECTORY > $HTMLFILE; ) echo "Generated HTML Output.....!!"
echo "Location: $HTMLFILE";
-Garrett
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list