Hi! > >> -$sched_mc & sched_smt=$sched_smt" > >> + echo "${FAIL}: cpu consolidation passed for" \ > >> + "sched_mc=$sched_mc & > >> sched_smt=$sched_smt" > >> fi > >> ;; > >> *) > >> if [ $pass_count -lt 5 ]; then > >> - tst_resm TFAIL "cpu consolidation for sched_mc=\ > >> -$sched_mc & sched_smt=$sched_smt" > >> - else > >> RC=1 > >> - tst_resm TPASS "cpu consolidation for sched_mc=\ > >> -$sched_mc & sched_smt=$sched_smt" > >> + echo "${FAIL}: cpu consolidation for" \ > >> + "sched_mc=$sched_mc & > >> sched_smt=$sched_smt" > >> + else > >> + echo "${PASS}: cpu consolidation for" \ > >> + "sched_mc=$sched_mc & > >> sched_smt=$sched_smt" > > > > I do not get how removing tst_resm and changing it to echo satisfies > > "Use functions in test.sh, eg. tst_brkm" from the commit log. > > This is a subset of each test case, eg. runpwtests_exclusive01.sh. Here if we > use > tst_resm TPASS/TFAIL, it results in a mismatch between the count of > TPASS/TFAIL and > the TST_COUNT in each case. So I change "tst_resm" to "echo". > I don't have a better way to do this. Could you give me some hints about it? > Thanks!
If these are separable testcases the best would be to split them into testcases. If they are not, we can always fix the TST_COUNT to match the reality... -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list