testRXPbasic.py: fix status output
authorrobin
Mon, 07 Apr 2014 13:48:51 +0100
changeset 48 2d6178b56ddd
parent 47 67f21193a018
child 49 054a847970b7
testRXPbasic.py: fix status output
test/testRXPbasic.py
--- a/test/testRXPbasic.py	Fri Apr 04 16:51:31 2014 +0100
+++ b/test/testRXPbasic.py	Mon Apr 07 13:48:51 2014 +0100
@@ -185,7 +185,7 @@
 		print(pyRXPU.__doc__)
 	else:
 		if pyRXPU: _runTests(pyRXPU)
-		msg = "\n%d tests, %s failures!" % (_total,_bad and str(_bad) or 'no')
+		msg = ("\n%d tests" % _total) + (', %d FAILED!' % _bad if _bad else '\n\nOK')
 		print(msg)
 		plogn(msg)