Skip to contentSkip to conversation

Fix Location Of GENHTML Inside RUNLTP

PATCH In review Subrata Modak 2 participants 4 messages Apr 21, 2010 – Apr 26, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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.

---

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

#2 lore raw
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.

---

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--
Subrata

Quoted 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

#3 lore raw
Quoted 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.

---

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 5 lines

Regards--
Subrata

Quoted 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.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";

-Garrett

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list