[PATCH] D99651: [Dexter] Implement DexDeclareFile, a new Dexter command

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 07:49:42 PDT 2021


Orlando added a comment.

In D99651#2777244 <https://reviews.llvm.org/D99651#2777244>, @TWeaver wrote:

> Apologies for the missing test, here it is! :)
>
> Will be pushing this shortly, thanks a bunch.
>
>   # Purpose:
>   #    Check that non canonical paths resolve correctly on windows.
>   #
>   # REQUIRES: system-windows
>   #
>   # RUN: %clang "%S/source/test file.cpp" -O0 -g -o %t
>   # RUN: %dexter_regression_test --binary %t %s | FileCheck %s
>   # CHECK: test.dex
>   #
>   # ./source/test file.cpp
>   # 1 int main(const int argc, const char * argv[]) {
>   # 2 int result = argc;
>   # 3 return result;
>   # 4 }
>   
>   DexDeclareFile('./sOuRce\\test filE.cpp')
>   DexExpectWatchValue('result', 1, on_line=3)

Thanks! Looks good.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99651/new/

https://reviews.llvm.org/D99651



More information about the llvm-commits mailing list