From 0d781bcb20fcf7ef9e28dcfc5d0bac13dbfc4bca Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Thu, 17 Oct 2019 20:14:19 +0000 Subject: Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" This reverts SVN r375156, as it seems to have broken tests when run on macOS: http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2706/console git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@375163 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Shell/SymbolFile/NativePDB/disassembly.cpp | 6 +++--- test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/Shell/SymbolFile/NativePDB/disassembly.cpp b/test/Shell/SymbolFile/NativePDB/disassembly.cpp index be0575541..3553f29ce 100644 --- a/test/Shell/SymbolFile/NativePDB/disassembly.cpp +++ b/test/Shell/SymbolFile/NativePDB/disassembly.cpp @@ -2,12 +2,12 @@ // REQUIRES: lld // Test that we can show disassembly and source. -// RUN: %clang_cl --target=x86_64-windows-msvc -Od -Z7 -c /Fo%t.obj -- %s -// RUN: lld-link -debug:full -nodefaultlib -entry:main %t.obj -out:%t.exe -pdb:%t.pdb +// RUN: %build --compiler=clang-cl --nodefaultlib -o %t.exe -- %s // RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \ // RUN: %p/Inputs/disassembly.lldbinit | FileCheck %s -// Some context lines before the function. +// Some context lines before +// the function. int foo() { return 42; } diff --git a/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp b/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp index 312fd1e64..cd13159d5 100644 --- a/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp +++ b/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp @@ -1,8 +1,7 @@ // clang-format off // REQUIRES: lld -// RUN: %clang_cl --target=i386-windows-msvc -Od -Z7 -c /Fo%t.obj -- %s -// RUN: lld-link -debug:full -nodefaultlib -entry:main %t.obj -out:%t.exe -pdb:%t.pdb +// RUN: %build --compiler=clang-cl --arch=32 --nodefaultlib -o %t.exe -- %s // RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \ // RUN: %p/Inputs/function-types-calling-conv.lldbinit | FileCheck %s -- cgit v1.2.3