waf: improve readability of cross-answers generated by cross-execute
authorUri Simchoni <urisimchoni@gmail.com>
Sun, 3 May 2015 19:56:15 +0000 (22:56 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 May 2015 09:19:11 +0000 (11:19 +0200)
commitc244e7dc09e9c98f678cbe716fe2e640de0bd4c0
tree75630b8201a8a7017edeb4c196965dc37bc85eb4
parenteb696df4936bc48bb8fa7077bb5b45e5e2e6cb01
waf: improve readability of cross-answers generated by cross-execute

When generating a result for cross-answers from the (retcode, retstring) tuple:
- (0, "output") indicated as "output"
- 1 is interpreted as generic fail code, instead of 255, because most
  if not all tests fail with 1 as exit code rather than 255
- For failing test, use NO instead of FAIL, because that's not
  necessarily a failure (it could mean that something is NOT
  broken)

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
buildtools/wafsamba/samba_cross.py