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