X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=testing%2Fsscan_sources.incl;h=027935c682f24aa490ebfdf9470f637da235cdd4;hp=78063a915e35e4608fd32876c15655a86672cda5;hb=55cf35957bf8dec0a489ba758c02c83303a5eb50;hpb=4340db942a3f1dc39724c1f05264d38586bc062a diff --git a/testing/sscan_sources.incl b/testing/sscan_sources.incl index 78063a9..027935c 100644 --- a/testing/sscan_sources.incl +++ b/testing/sscan_sources.incl @@ -26,12 +26,12 @@ int res = SCANFUNC( source + offset, __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 )