summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/framework.h
diff options
context:
space:
mode:
authorSvilen Mihaylov <svilen.mihaylov@mongodb.com>2022-12-01 16:18:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-01 16:56:09 +0000
commit521a68eb5b04d86a143d90e04808527ea79f644c (patch)
tree6080b463a829429f7a046f91099f02eb783ef660 /src/mongo/unittest/framework.h
parenta8cee4cd2a4411d9418b8e51b43ee608ae9cfdb9 (diff)
downloadmongo-521a68eb5b04d86a143d90e04808527ea79f644c.tar.gz
SERVER-71004 [CQF] Extend the usability of the auto-update macro
Diffstat (limited to 'src/mongo/unittest/framework.h')
-rw-r--r--src/mongo/unittest/framework.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/unittest/framework.h b/src/mongo/unittest/framework.h
index 6f0a4f85c89..5d26c0e2ea0 100644
--- a/src/mongo/unittest/framework.h
+++ b/src/mongo/unittest/framework.h
@@ -441,4 +441,10 @@ struct SpawnInfo {
};
SpawnInfo& getSpawnInfo();
+/**
+ * If set to true will cause optimizer tests with _AUTO asserts to auto-update their expected
+ * results based on the actual test results.
+ */
+bool& getAutoUpdateOptimizerAsserts();
+
} // namespace mongo::unittest