Author: zturner Date: Fri Dec 14 10:43:42 2018 New Revision: 349175 URL: http://llvm.org/viewvc/llvm-project?rev=349175&view=rev Log: [NativePDB] Fix local-variables.cpp test.
Since we're actually running an executable on the host now, different versions of Windows could load different system libraries, so we need to regex out the number of loaded modules. Modified: lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp Modified: lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp?rev=349175&r1=349174&r2=349175&view=diff ============================================================================== --- lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp (original) +++ lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp Fri Dec 14 10:43:42 2018 @@ -151,7 +151,7 @@ int main(int argc, char **argv) { // CHECK-NEXT: Process {{.*}} exited with status = 18 (0x00000012) // CHECK: (lldb) target modules dump ast -// CHECK-NEXT: Dumping clang ast for 7 modules. +// CHECK-NEXT: Dumping clang ast for {{.*}} modules. // CHECK-NEXT: TranslationUnitDecl // CHECK-NEXT: |-FunctionDecl {{.*}} main 'int (int, char **)' // CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int' _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits