X-Git-Url: https://git.gag.com/?p=fw%2Fpdclib;a=blobdiff_plain;f=testing%2Ffscan_sources.incl;h=243a17d8fde18cf26fd71f3499ca49c45304bfd1;hp=a7dc18b71a47e4dcc59badb49085e3d9973c7bd1;hb=3956a4f15134f471663136d51626523ccff4e9ba;hpb=8f80da097704e9bdfd7a78c27a07f2f92b584846 diff --git a/testing/fscan_sources.incl b/testing/fscan_sources.incl index a7dc18b..243a17d 100644 --- a/testing/fscan_sources.incl +++ b/testing/fscan_sources.incl @@ -50,12 +50,12 @@ int res = SCANFUNC( source, __VA_ARGS__ ); \ if ( res != result ) \ { \ - rc += 1; \ + TEST_RESULTS += 1; \ printf( "FAILED: " __FILE__ ", line %d - expected result %d, got %d\n", __LINE__, result, res ); \ } \ if ( n != count ) \ { \ - rc += 1; \ + TEST_RESULTS += 1; \ printf( "FAILED: " __FILE__ ", line %d - expected count %d, got %d\n", __LINE__, count, n ); \ } \ } while ( 0 )