diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-10-30 14:59:07 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2024-02-08 13:17:19 +0000 |
commit | cd08132a29e2426df5b3aba6f36172b31ca5153a (patch) | |
tree | 643c07668e0b77a2bdf4c499110d18dab0b9c030 | |
parent | 5da5cf4c5da6b332f9d830317743cc404fd8ffdc (diff) | |
download | klee-cd08132a29e2426df5b3aba6f36172b31ca5153a.tar.gz |
Handle check for thrown libc++ exceptions more general
The wording changed slightly in newer versions. Update the test case to support this.
-rw-r--r-- | test/CXX/symex/libc++/nested_fail.cpp | 2 | ||||
-rw-r--r-- | test/CXX/symex/libc++/simple_exception_fail.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/symex/libc++/nested_fail.cpp b/test/CXX/symex/libc++/nested_fail.cpp index 4dce0279..fe2df4c9 100644 --- a/test/CXX/symex/libc++/nested_fail.cpp +++ b/test/CXX/symex/libc++/nested_fail.cpp @@ -24,4 +24,4 @@ int main(int argc, char **args) { } return 0; } -// CHECK: terminating with uncaught exception of type char* +// CHECK: terminating {{.*}} uncaught exception of type char* diff --git a/test/CXX/symex/libc++/simple_exception_fail.cpp b/test/CXX/symex/libc++/simple_exception_fail.cpp index 793d9201..c3e295c2 100644 --- a/test/CXX/symex/libc++/simple_exception_fail.cpp +++ b/test/CXX/symex/libc++/simple_exception_fail.cpp @@ -11,4 +11,4 @@ int main(int argc, char **args) { throw std::runtime_error("foo"); } -// CHECK: terminating with uncaught exception of type std::runtime_error: foo \ No newline at end of file +// CHECK: terminating {{.*}} uncaught exception of type std::runtime_error: foo \ No newline at end of file |