fail_bad_prebuilt_runtimes.carbon 893 B

1234567891011121314
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // ARGS: --include-diagnostic-kind --prebuilt-runtimes=/a/b/c/does/not/exist compile --output=%t %s
  6. //
  7. // Diagnostic contains non-portable filesystem error text.
  8. // NOAUTOUPDATE
  9. // TIP: To test this file alone, run:
  10. // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/driver/testdata/fail_bad_prebuilt_runtimes.carbon
  11. // TIP: To dump output, run:
  12. // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/driver/testdata/fail_bad_prebuilt_runtimes.carbon
  13. // CHECK:STDERR: error: Calling `openat` on '/a/b/c/does/not/exist' relative to 'AT_FDCWD' during DirRef::OpenDir failed: {{.*}} [DriverPrebuiltRuntimesInvalid]
  14. // CHECK:STDERR: