changeset 3377:84277d0be0b2

Use correct format for FAIL output when using diag_printf to construct FAIL message.
author Jonathan Larmour <jifl@eCosCentric.com>
date Fri, 08 Apr 2011 02:24:49 +0100
parents 23d6949cfdbd
children c61c25416156
files packages/io/nand/current/ChangeLog packages/io/nand/current/tests/nand_eccequiv.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/nand/current/ChangeLog
+++ b/packages/io/nand/current/ChangeLog
@@ -2,8 +2,13 @@ 2014-08-11  Ross Younger  <wry@ecoscentr
 
 	* nand.c nand_bbt.c nand_synth.c: Make build with recent gcc
 
+2011-04-08  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* tests/nand_eccequiv.c (cyg_user_start): Use correct format for
+	FAIL output.
+
 2010-07-09  Ross Younger  <wry@eCosCentric.com>
-	
+
 	* nand.c: Fix name of cyg_nandp_bbt_markbad_pageaddr to match header.
 
 2010-04-20  Ross Younger  <wry@eCosCentric.com>
--- a/packages/io/nand/current/tests/nand_eccequiv.c
+++ b/packages/io/nand/current/tests/nand_eccequiv.c
@@ -8,7 +8,7 @@
 // ####ECOSGPLCOPYRIGHTBEGIN####                                            
 // -------------------------------------------                              
 // This file is part of eCos, the Embedded Configurable Operating System.   
-// Copyright (C) 2009 eCosCentric Limited.
+// Copyright (C) 2009, 2011 eCosCentric Limited.
 //
 // eCos is free software; you can redistribute it and/or modify it under    
 // the terms of the GNU General Public License as published by the Free     
@@ -128,7 +128,7 @@ int cyg_user_start(void)
     }
 
     if (fails) {
-        diag_printf("FAIL: %d mismatches\n", fails);
+        diag_printf("FAIL:<%d mismatches>\n", fails);
         CYG_TEST_FAIL_FINISH(msg);
     } else
         CYG_TEST_PASS_FINISH(msg);