OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/klee?expand=0&rev=37
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From: =?UTF-8?q?Julian=20B=C3=BCning?= <julian.buening@rwth-aachen.de>
|
|
Date: Mon, 30 Oct 2017 18:53:40 +0100
|
|
Subject: test: fix Feature/BFSSearcherAndDFSSearcherInterleaved.c
|
|
Patch-mainline: no
|
|
|
|
To use explicit enumeration of possible strings instead of CHECK-SAME
|
|
(does not work as intended with LLVM >= 3.7).
|
|
|
|
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
|
|
---
|
|
test/Feature/BFSSearcherAndDFSSearcherInterleaved.c | 10 ++--------
|
|
1 file changed, 2 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/test/Feature/BFSSearcherAndDFSSearcherInterleaved.c b/test/Feature/BFSSearcherAndDFSSearcherInterleaved.c
|
|
index 9cc11b709bbe..3dd5b4d59fe4 100644
|
|
--- a/test/Feature/BFSSearcherAndDFSSearcherInterleaved.c
|
|
+++ b/test/Feature/BFSSearcherAndDFSSearcherInterleaved.c
|
|
@@ -38,12 +38,6 @@ int main() {
|
|
}
|
|
}
|
|
|
|
- // exactly 4 characters
|
|
- // CHECK: {{^[A-D]{4}$}}
|
|
-
|
|
- // for each of A, B, C and D: occurs exactly once
|
|
- // CHECK-SAME: {{^[B-D]*A[B-D]*$}}
|
|
- // CHECK-SAME: {{^[A,C-D]*B[A,C-D]*$}}
|
|
- // CHECK-SAME: {{^[A-B,D]*C[A-B,D]*$}}
|
|
- // CHECK-SAME: {{^[A-C]*D[A-C]*$}}
|
|
+ // exactly 4 characters, each of A, B, C and D occur exactly once
|
|
+ // CHECK: {{^(ABCD|ABDC|ACBD|ACDB|ADBC|ADCB|BACD|BADC|BCAD|BCDA|BDAC|BDCA|CABD|CADB|CBAD|CBDA|CDAB|CDBA|DABC|DACB|DBAC|DBCA|DCAB|DCBA)$}}
|
|
}
|
|
--
|
|
2.15.1
|
|
|