From 126f7b38e3798a6b5cd8fdeb6b33d25e46ec0130 Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Wed, 4 Jun 2025 16:01:25 -0700 Subject: [PATCH] Mark stdin output file test as no-prelude (#5612) --- toolchain/driver/testdata/fail_missing_stdin_output.carbon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolchain/driver/testdata/fail_missing_stdin_output.carbon b/toolchain/driver/testdata/fail_missing_stdin_output.carbon index 6adb4f0cc2e0..23c8d730ae26 100644 --- a/toolchain/driver/testdata/fail_missing_stdin_output.carbon +++ b/toolchain/driver/testdata/fail_missing_stdin_output.carbon @@ -2,7 +2,9 @@ // Exceptions. See /LICENSE for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -// ARGS: --include-diagnostic-kind compile - +// This needs to disable the prelude because otherwise it tries opening prelude +// output files in bazel runfiles, which may not be writable. +// ARGS: --include-diagnostic-kind compile --no-prelude-import - // // AUTOUPDATE // TIP: To test this file alone, run: