]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Define BIT_DEBUG for --debug
authorNick Terrell <terrelln@fb.com>
Thu, 24 May 2018 01:25:26 +0000 (18:25 -0700)
committerNick Terrell <terrelln@fb.com>
Thu, 24 May 2018 21:21:12 +0000 (14:21 -0700)
tests/fuzz/fuzz.py

index 14ae8bca0f2bca5bf9aa5480d3848139b434c980..bc6611fd23e046532c7dbcd9a6715d8c251acd3c 100755 (executable)
@@ -248,7 +248,7 @@ def build_parser(args):
         dest='debug',
         type=int,
         default=1,
-        help='Set ZSTD_DEBUG (default: 1)')
+        help='Set ZSTD_DEBUG and BIT_DEBUG (default: 1)')
     parser.add_argument(
         '--force-memory-access',
         dest='memory_access',
@@ -356,6 +356,7 @@ def build(args):
 
     cppflags += [
         '-DZSTD_DEBUG={}'.format(args.debug),
+        '-DBIT_DEBUG={}'.format(args.debug),
         '-DMEM_FORCE_MEMORY_ACCESS={}'.format(args.memory_access),
         '-DFUZZ_RNG_SEED_SIZE={}'.format(args.fuzz_rng_seed_size),
     ]