Skip to contentSkip to conversation

Fix Usage Reference of those tools utilities

PATCH In review Subrata Modak 2 participants 4 messages Feb 12, 2011 – Feb 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix Usage Reference of those tools utilities

Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools, they are done under @{LTP_ROOT}/bin. Change their reference accordingly inside 'runltp' script. Nobody noticed this early as probably these options are least used in LTP ;-)

---

runltp +5 -5
index 2c6785f..381e123 100755
@@ -779,7 +779,7 @@ main()
 			#Go ahead to Inject Fault & Create required
 			#Command Files for LTP run
 			echo Running tests with Fault Injection Enabled in the Kernel...
-			${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+			${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
 				${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
 			cp ${TMP}/alltests.tmp ${TMP}/alltests
 			rm -rf ${TMP}/alltests.tmp
@@ -796,15 +796,15 @@ main()
 			which valgrind || VALGRIND_CHECK_TYPE=XYZ
 			case $VALGRIND_CHECK_TYPE in
 				1)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				2)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				3)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				*) echo "Invalid Memory Check Type, or, Valgrind is not available";;
@@ -859,7 +859,7 @@ main()
        export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
        export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
        echo "Generating HTML Output.....!!"
-       ( perl $LTPROOT/bin/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/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
        echo "Generated HTML Output.....!!"
        echo "Location: $HTMLFILE";
 

---

Regards--
Subrata

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 55 lines · Subrata Modak

Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools, they are done under @{LTP_ROOT}/bin. Change their reference accordingly inside 'runltp' script. Nobody noticed this early as probably these options are least used in LTP ;-)

---

runltp +5 -6
index 2c6785f..381e123 100755
@@ -779,7 +779,7 @@ main()
           #Go ahead to Inject Fault & Create required
           #Command Files for LTP run
           echo Running tests with Fault Injection Enabled in the Kernel...
-            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
               ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
           cp ${TMP}/alltests.tmp ${TMP}/alltests
           rm -rf ${TMP}/alltests.tmp
@@ -796,15 +796,15 @@ main()
           which valgrind || VALGRIND_CHECK_TYPE=XYZ
           case $VALGRIND_CHECK_TYPE in
               1)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               2)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               3)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               *) echo "Invalid Memory Check Type, or, Valgrind is not available";;
@@ -859,7 +859,7 @@ main()
       export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
       export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
       echo "Generating HTML Output.....!!"
-       ( perl $LTPROOT/bin/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/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
       echo "Generated HTML Output.....!!"
       echo "Location: $HTMLFILE";
 
---

Regards--
Subrata

Quoted 10 lines

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw

Garret,

Did you mean to comment something ? I did not receive any feedback in the mail, just blank reply :-(

Regards--
Subrata

Quoted 57 lines · Garrett Cooper
Quoted 55 lines · Subrata Modak

Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools, they are done under @{LTP_ROOT}/bin. Change their reference accordingly inside 'runltp' script. Nobody noticed this early as probably these options are least used in LTP ;-)

---

runltp +5 -6
index 2c6785f..381e123 100755
@@ -779,7 +779,7 @@ main()
           #Go ahead to Inject Fault & Create required
           #Command Files for LTP run
           echo Running tests with Fault Injection Enabled in the Kernel...
-            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
               ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
           cp ${TMP}/alltests.tmp ${TMP}/alltests
           rm -rf ${TMP}/alltests.tmp
@@ -796,15 +796,15 @@ main()
           which valgrind || VALGRIND_CHECK_TYPE=XYZ
           case $VALGRIND_CHECK_TYPE in
               1)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               2)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               3)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
               cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               *) echo "Invalid Memory Check Type, or, Valgrind is not available";;
@@ -859,7 +859,7 @@ main()
       export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
       export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
       echo "Generating HTML Output.....!!"
-       ( perl $LTPROOT/bin/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/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
       echo "Generated HTML Output.....!!"
       echo "Location: $HTMLFILE";
 
---

Regards--
Subrata

Quoted 10 lines
Quoted 10 lines

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw

Must have been an iPhone or other PEBKAC fail. Sure, looks good.
Thanks,
-Garrett

Quoted 66 lines · Subrata Modak

Garret,

Did you mean to comment something ? I did not receive any feedback in the mail, just blank reply :-(

Regards--
Subrata

Quoted 57 lines · Garrett Cooper
Quoted 55 lines · Subrata Modak

Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools, they are done under @{LTP_ROOT}/bin. Change their reference accordingly inside 'runltp' script. Nobody noticed this early as probably these options are least used in LTP ;-)

---

runltp +0 -0
index 2c6785f..381e123 100755
@@ -779,7 +779,7 @@ main()
            #Go ahead to Inject Fault & Create required
            #Command Files for LTP run

           echo Running tests with Fault Injection Enabled in the Kernel...
-            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
               ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp cp ${TMP}/alltests.tmp ${TMP}/alltests
           rm -rf ${TMP}/alltests.tmp

runltp +0 -0
@@ -796,15 +796,15 @@ main()

           which valgrind || VALGRIND_CHECK_TYPE=XYZ
           case $VALGRIND_CHECK_TYPE in
               1)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               2)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               3)
-                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
+                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp cp ${TMP}/alltests.tmp ${TMP}/alltests
               rm -rf ${TMP}/alltests.tmp;;
               *) echo "Invalid Memory Check Type, or, Valgrind is not available";;

runltp +0 -0
@@ -859,7 +859,7 @@ main()

       export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
       export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
       echo "Generating HTML Output.....!!"
-       ( perl $LTPROOT/bin/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/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; ) echo "Generated HTML Output.....!!"
       echo "Location: $HTMLFILE";

---

Regards--
Subrata

Quoted 12 lines
Quoted 10 lines
Quoted 10 lines

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list