X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=testing%2Ffscan_sources.incl;h=243a17d8fde18cf26fd71f3499ca49c45304bfd1;hp=a7dc18b71a47e4dcc59badb49085e3d9973c7bd1;hb=55cf35957bf8dec0a489ba758c02c83303a5eb50;hpb=4340db942a3f1dc39724c1f05264d38586bc062a 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 )