]> granicus.if.org Git - check/commitdiff
Check for MEMORY_LEAKING_TESTS_ENABLED consistently
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:43:09 +0000 (02:43 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:43:09 +0000 (02:43 +0000)
The line number table did not have the related test
compiled out when it should have.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@999 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_sub.c

index 850ff2f50ceed0c34d49f4d56fc6c7db1d0eee1e..b66c4478c5ccb6ea95bdd63d4cf04f521284b33e 100644 (file)
@@ -857,7 +857,9 @@ void init_master_tests_lineno(int num_master_tests) {
 #if defined(HAVE_FORK) && HAVE_FORK==1
     "-1",
 #endif /* HAVE_FORK */
+#if MEMORY_LEAKING_TESTS_ENABLED
     "-1",
+#endif /* MEMORY_LEAKING_TESTS_ENABLED */
     "-1",
 
 #if defined(HAVE_FORK) && HAVE_FORK==1