[Dexter] Fix incorrect substitution errors in clang-cl builder

Following 262520a3, tests on windows bots began failing due to an incorrect
substitution in the previous patch, where clang-cl was used instead of
clang_cl.

Also fixes an inconsistency in the builders used for some of the tests
in 'dexter-tests', where %clang++ was used for some tests and %clang for
tests that should have identical RUN lines.
This commit is contained in:
Stephen Tozer
2023-08-21 17:19:43 +01:00
parent f0bbda00bd
commit 0b72b71cd3
7 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
// REQUIRES: system-windows
//
// RUN: %clang-cl /Z7 /Zi %s -o %t
// RUN: %clang_cl /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
// Check that global constants have debug info.

View File

@@ -1,6 +1,6 @@
// REQUIRES: system-windows
//
// RUN: %clang-cl /Z7 /Zi %s -o %t
// RUN: %clang_cl /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
#include <stdio.h>

View File

@@ -1,9 +1,9 @@
// REQUIRES: system-windows
//
// RUN: %clang-cl /Od /Z7 /Zi %s -o %t
// RUN: %clang_cl /Od /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
//
// RUN: %clang-cl /O2 /Z7 /Zi %s -o %t
// RUN: %clang_cl /O2 /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t \
// RUN: --debugger 'dbgeng' -- %s

View File

@@ -3,7 +3,7 @@
//
// REQUIRES: system-windows
//
// RUN: %clang-cl /Z7 /Zi %s -o %t
// RUN: %clang_cl /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
struct string {

View File

@@ -1,7 +1,7 @@
// RUN: %clang -O2 -g %s -o %t
// RUN: %clang++ -O2 -g %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t --debugger 'lldb' -v -- %s
// RUN: %clang -O0 -g %s -o %t
// RUN: %clang++ -O0 -g %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t --debugger 'lldb' -- %s

View File

@@ -1,6 +1,6 @@
// REQUIRES: system-windows
//
// RUN: %clang-cl /Z7 /Zi %s -o %t
// RUN: %clang_cl /Z7 /Zi %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
// From https://llvm.org/pr38857, where we had issues with stack realignment.

View File

@@ -123,7 +123,7 @@ def configure_dexter_substitutions():
if platform.system() == "Windows":
# The Windows builder script uses lld.
dependencies = ["clang", "lld-link"]
dexter_regression_test_builder = "clang-cl"
dexter_regression_test_builder = "clang_cl"
dexter_regression_test_debugger = "dbgeng"
dexter_regression_test_flags = "/Zi /Od"
else: