]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
only NDEBUG
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Oct 2022 13:57:49 +0000 (09:57 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Oct 2022 13:58:01 +0000 (09:58 -0400)
src/bin/unit_test_module.c

index c39dff71d663d6b0842d95093f0b568eeb0bd3a2..8acee68cfd0b43c37a921a5136176601173d4585 100644 (file)
@@ -980,6 +980,7 @@ int main(int argc, char *argv[])
                for (i = 0; i < count; i++) {
                        request = request_clone(cached, i, server_cs);
 
+#ifndef NDEBUG
                        /*
                         *      Artificially limit the number of instructions which are run.
                         */
@@ -991,6 +992,7 @@ int main(int argc, char *argv[])
                                }
                                request->ins_count = 0;
                        }
+#endif
 
                        unlang_interpret_synchronous(el, request);
                        talloc_free(request);