From 0cc05c5a31b6c6d3db76b5982f3f36919e137500 Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Tue, 18 Aug 2020 17:24:45 +0300 Subject: Register GDScript test tools as test commands to run via command-line --- core/os/os.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/os') diff --git a/core/os/os.h b/core/os/os.h index 48dae99188..8e5c0c26e0 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -86,11 +86,13 @@ public: protected: friend class Main; + // Needed by tests to setup command-line args. + friend int test_main(int argc, char *argv[]); HasServerFeatureCallback has_server_feature_callback = nullptr; RenderThreadMode _render_thread_mode = RENDER_THREAD_SAFE; - // functions used by main to initialize/deinitialize the OS + // Functions used by Main to initialize/deinitialize the OS. void add_logger(Logger *p_logger); virtual void initialize() = 0; -- cgit v1.2.3