Ppx_expect_nobase_runtime.For_externalSourceFunctions for other libraries to interact with expect tests.
If there is an expect test running, perform a consuming read of the current output and return it without any sanitization or backtrace-checking. Note that this is different from the behavior of [%expect.output], which does perform sanitization.
If there is no test running, raise an error that includes here.