[NativePDB] Fix local-variables.cpp test.
authorZachary Turner <zturner@google.com>
Fri, 14 Dec 2018 18:43:42 +0000 (18:43 +0000)
committerZachary Turner <zturner@google.com>
Fri, 14 Dec 2018 18:43:42 +0000 (18:43 +0000)
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.

llvm-svn: 349175

lldb/lit/SymbolFile/NativePDB/local-variables.cpp

index adc70d9..5886153 100644 (file)
@@ -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'