File tree Expand file tree Collapse file tree 13 files changed +26
-36
lines changed Expand file tree Collapse file tree 13 files changed +26
-36
lines changed Original file line number Diff line number Diff line change 99#ifndef __crt_stdarg_bi__
1010#define __crt_stdarg_bi__
1111
12- type va_list as any ptr
12+ type va_list as cva_list
1313
1414# endif
Original file line number Diff line number Diff line change 1+ Version 0.8
2+
3+ [changed]
4+ - run_tests() returns false (failed) if any one assert fails
5+
6+
17Version 0.7
28
39[added]
Original file line number Diff line number Diff line change 22#define __FBCUNIT_BI_INCLUDE__ 1
33
44'' fbcunit - FreeBASIC Compiler Unit Testing Component
5- '' Copyright (C) 2017-2018 Jeffery R. Marshall (coder[at]execulink[dot]com)
5+ '' Copyright (C) 2017-2019 Jeffery R. Marshall (coder[at]execulink[dot]com)
66''
77'' License: GNU Lesser General Public License
88'' version 2.1 (or any later version) plus
1313--------------------------------------------------------- '/
1414
1515#define FBCU_VER_MAJOR 0
16- #define FBCU_VER_MINOR 7
16+ #define FBCU_VER_MINOR 8
1717
1818#inclib "fbcunit"
1919
Original file line number Diff line number Diff line change 11fbcunit - FreeBASIC Compiler Unit Testing Component
2- Copyright (C) 2017-2018 Jeffery R. Marshall (coder[at]execulink[dot]com)
2+ Copyright (C) 2017-2019 Jeffery R. Marshall (coder[at]execulink[dot]com)
33
44This library is free software; you can redistribute it and/or
55modify it under the terms of the GNU Lesser General Public
Original file line number Diff line number Diff line change 11 fbcunit - FreeBASIC Compiler Unit Testing Component
2- Copyright (C) 2017-2018 Jeffery R. Marshall (coder[at]execulink[dot]com)
2+ Copyright (C) 2017-2019 Jeffery R. Marshall (coder[at]execulink[dot]com)
33
4- fbcunit version 0.7
4+ fbcunit version 0.8
55-------------------
66 Unit testing component for fbc compiler. Provides macros
77 and common code for unit testing fbc compiled sources.
Original file line number Diff line number Diff line change 11'' fbcunit - FreeBASIC Compiler Unit Testing Component
2- '' Copyright (C) 2017-2018 Jeffery R. Marshall (coder[at]execulink[dot]com)
2+ '' Copyright (C) 2017-2019 Jeffery R. Marshall (coder[at]execulink[dot]com)
33''
44'' License: GNU Lesser General Public License
55'' version 2.1 (or any later version) plus
@@ -607,6 +607,10 @@ namespace fbcu
607607
608608 fbcu_test_index = .test_index_next
609609
610+ if ( .assert_pass_count <> .assert_count ) then
611+ failed = true
612+ end if
613+
610614 end with
611615
612616 wend
Original file line number Diff line number Diff line change 11# include "fbcunit.bi"
22
3- # if defined( __FB_64BIT__ )
4- # if defined( __FB_WIN32__ )
5- #define DOTEST
6- # endif
7- # elseif (__FB_BACKEND__ = "gas" )
3+ # if (__FB_BACKEND__ = "gas" )
84 #define DOTEST
95# endif
106
Original file line number Diff line number Diff line change 11# include "fbcunit.bi"
22
3- # if defined( __FB_64BIT__ )
4- # if defined( __FB_WIN32__ )
5- #define DOTEST
6- # endif
7- # elseif (__FB_BACKEND__ = "gas" )
3+ # if (__FB_BACKEND__ = "gas" )
84 #define DOTEST
95# endif
106
Original file line number Diff line number Diff line change 11# include "fbcunit.bi"
22
3- # if defined( __FB_64BIT__ )
4- # if defined( __FB_WIN32__ )
5- #define DOTEST
6- # endif
7- # elseif (__FB_BACKEND__ = "gas" )
3+ # if (__FB_BACKEND__ = "gas" )
84 #define DOTEST
95# endif
106
Original file line number Diff line number Diff line change 11# include "fbcunit.bi"
22
3- # if defined( __FB_64BIT__ )
4- # if defined( __FB_WIN32__ )
5- #define DOTEST
6- # endif
7- # elseif (__FB_BACKEND__ = "gas" )
3+ # if (__FB_BACKEND__ = "gas" )
84 #define DOTEST
95# endif
106
You can’t perform that action at this time.
0 commit comments