From acdb9a692d9eee8dd102befa4e101bfa5f028b0e Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Tue, 10 Nov 2020 21:59:41 +0000 Subject: tests: add test for klee-stats --table-format=csv/readable-csv --- test/Feature/KleeStatsCsv.test | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Feature/KleeStatsCsv.test 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 -- cgit 1.4.1