about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2020-11-10 21:59:41 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2020-11-11 14:13:35 +0000
commitacdb9a692d9eee8dd102befa4e101bfa5f028b0e (patch)
treeb6d883aa71a91f56285f3d100cccfe45400ba2cf /test
parent62c23484d964556f6e77407752e34f4a974397f9 (diff)
downloadklee-acdb9a692d9eee8dd102befa4e101bfa5f028b0e.tar.gz
tests: add test for klee-stats --table-format=csv/readable-csv
Diffstat (limited to 'test')
-rw-r--r--test/Feature/KleeStatsCsv.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Feature/KleeStatsCsv.test b/test/Feature/KleeStatsCsv.test
new file mode 100644
index 00000000..26bfac09
--- /dev/null
+++ b/test/Feature/KleeStatsCsv.test
@@ -0,0 +1,8 @@
+RUN: %klee-stats --table-format=csv %S/klee-stats/run | FileCheck --check-prefix=CHECK-CSV %s
+RUN: %klee-stats --table-format=readable-csv %S/klee-stats/run | FileCheck --check-prefix=CHECK-READABLECSV %s
+
+CHECK-CSV: Path,Instrs,Time(s),ICov(%),BCov(%),ICount,TSolver(%)
+CHECK-CSV: klee-stats/run,3,0.00,100.00,100.00,3,0.00
+
+CHECK-READABLECSV: Path          ,  Instrs,  Time(s),  ICov(%),  BCov(%),  ICount,  TSolver(%)
+CHECK-READABLECSV: klee-stats/run,       3,     0.00,   100.00,   100.00,       3,        0.00