Switch executable_semantics to lit/filecheck tests. (#819)

This commit is contained in:
Jon Meow
2021-09-09 11:15:41 -07:00
committed by GitHub
parent 90f04700e2
commit 5047cd6447
225 changed files with 1044 additions and 664 deletions
@@ -1,6 +1,14 @@
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// RUN: not executable_semantics %s 2>&1 | \
// RUN: FileCheck --match-full-lines --allow-unused-prefixes=false %s
// RUN: not executable_semantics --trace %s 2>&1 | \
// RUN: FileCheck --match-full-lines --allow-unused-prefixes %s
// AUTOUPDATE: executable_semantics %s
// CHECK: COMPILATION ERROR: {{.*}}/pattern_variable_fail.carbon:17: syntax error, unexpected COLON
package ExecutableSemanticsTest api;