Skip to contentSkip to conversation

run-posix-option-group-test: remove set -x debug

PATCH In review [email protected] 2 participants 2 messages Dec 18, 2014 – Jan 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 run-posix-option-group-test: remove set -x debug

From: "Maxin B. John" <[email protected]>

remove "set -x" in the shell script

---
 testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh | 1 -
 1 file changed, 1 deletion(-)
testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh +0 -1
index 17f6e49..0477bd7 100755
@@ -22,7 +22,6 @@ EOF
 
 run_option_group_tests()
 {
-	set -x
 	for test_script in $(find $1 -name run.sh); do
 		(cd "$(dirname "$test_script")" && ./$(basename "$test_script"))
 	done
Signature · 13 lines
1.9.1


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

Quoted 1 line

remove "set -x" in the shell script

While I agree that the script is too verbose as it is this is not right solution. After this change it only prints summary of succeeded/failed testcases without even telling what call has been tested.

The output should rather look something like:

***********************
Testing pthread_kill
***********************
PASS 14
FAIL 0
***********************

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list