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.

Signed-off-by: Subrata Modak <[email protected]>
---

--- ltp-dev/runltp.orig 2010-04-21 22:48:58.223651440 +0530
+++ ltp-dev/runltp      2010-04-21 22:49:10.901783445 +0530
@@ -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

Reply via email to