From 136068f571d7f47bf1c2ab9417a874b0829bc670 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Thu, 4 Jun 2009 06:53:05 +0000 Subject: Moved MultiByteReads.pc in test/Expr/Parser git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72851 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Expr/Parser/MultiByteReads.pc | 17 +++++++++++++++++ test/Expr/Printer/MultiByteReads.pc | 17 ----------------- test/Expr/Printer/dg.exp | 3 --- 3 files changed, 17 insertions(+), 20 deletions(-) create mode 100644 test/Expr/Parser/MultiByteReads.pc delete mode 100644 test/Expr/Printer/MultiByteReads.pc delete mode 100644 test/Expr/Printer/dg.exp diff --git a/test/Expr/Parser/MultiByteReads.pc b/test/Expr/Parser/MultiByteReads.pc new file mode 100644 index 00000000..af94b516 --- /dev/null +++ b/test/Expr/Parser/MultiByteReads.pc @@ -0,0 +1,17 @@ +# RUN: %kleaver -print-ast -pc-multibyte-reads=true %s >log +# RUN: grep -q "(ReadLSB w32 4 arr1)" log +# RUN: grep -q "(ReadMSB w32 2 arr2)" log + +(query [(Not (Slt 100 + (Concat w32 (Read w8 7 arr1) + (Concat w24 (Read w8 6 arr1) + (Concat w16 (Read w8 5 arr1) (Read w8 4 arr1))))))] + false) + + +(query [(Not (Slt 100 + (Concat w32 (Read w8 2 arr2) + (Concat w24 (Read w8 3 arr2) + (Concat w16 (Read w8 4 arr2) (Read w8 5 arr2))))))] + false) + diff --git a/test/Expr/Printer/MultiByteReads.pc b/test/Expr/Printer/MultiByteReads.pc deleted file mode 100644 index af94b516..00000000 --- a/test/Expr/Printer/MultiByteReads.pc +++ /dev/null @@ -1,17 +0,0 @@ -# RUN: %kleaver -print-ast -pc-multibyte-reads=true %s >log -# RUN: grep -q "(ReadLSB w32 4 arr1)" log -# RUN: grep -q "(ReadMSB w32 2 arr2)" log - -(query [(Not (Slt 100 - (Concat w32 (Read w8 7 arr1) - (Concat w24 (Read w8 6 arr1) - (Concat w16 (Read w8 5 arr1) (Read w8 4 arr1))))))] - false) - - -(query [(Not (Slt 100 - (Concat w32 (Read w8 2 arr2) - (Concat w24 (Read w8 3 arr2) - (Concat w16 (Read w8 4 arr2) (Read w8 5 arr2))))))] - false) - diff --git a/test/Expr/Printer/dg.exp b/test/Expr/Printer/dg.exp deleted file mode 100644 index 94fc4df8..00000000 --- a/test/Expr/Printer/dg.exp +++ /dev/null @@ -1,3 +0,0 @@ -load_lib llvm.exp - -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{pc}]] -- cgit 1.4.1