mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Use lit to provide a temp for driver output files. (#2993)
Specifying output.o causes issues if it's not writable, which it may not be in some test environments.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Exceptions. See /LICENSE for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
// RUN: %{not} %{carbon} dump objcode --target_triple=x86_684-unknown-linux-gnu --output_file=output.o %s | %{FileCheck-strict}
|
||||
// RUN: %{not} %{carbon} dump objcode --target_triple=x86_684-unknown-linux-gnu --output_file=%t %s | %{FileCheck-strict}
|
||||
// CHECK:STDERR: ERROR: Invalid -target_triple:{{.*}}
|
||||
|
||||
fn Main() -> i32 { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user