about summary refs log tree commit diff homepage
path: root/test/Feature/KleeStatsCsv.test
blob: e923f68d3f36c1ca74af0f7bae5a265dc4bbfc77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// sqlite databases must be opened with write permissions, so we copy the test cases to the output dir
RUN: rm -rf %t.klee-stats
RUN: mkdir %t.klee-stats
RUN: cp -r %S/klee-stats/run %t.klee-stats/
RUN: %klee-stats --table-format=csv %t.klee-stats/run | FileCheck --check-prefix=CHECK-CSV %s
RUN: %klee-stats --table-format=readable-csv %t.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