Просмотр исходного кода

Mark stdin output file test as no-prelude (#5612)

Jon Ross-Perkins 11 месяцев назад
Родитель
Сommit
126f7b38e3
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      toolchain/driver/testdata/fail_missing_stdin_output.carbon

+ 3 - 1
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: