Commit 5827c2d3 authored by Noric Couderc's avatar Noric Couderc
Browse files

Fixed tests and commandline

We use the checked features in the right places
parent 36ba84f7
......@@ -88,7 +88,7 @@ class PapiCommandLine : CliktCommand() {
PapiTracerRunner()
}
val features = if (normalizeFeatures) { normalize(brainyFeatures()) } else { brainyFeatures() }
val features = if (normalizeFeatures) { normalize(brainyFeatures()).checked() } else { brainyFeatures().checked() }
SyntheticBenchmarkExperimentPrinter(writer,
methodOutputFormat,
numberRuns, features,
......
......@@ -80,12 +80,11 @@ class ExperimentTest {
fun testExperimentBrainyFeatures() {
val bench = BCBenchmarkPackage.LIST(1234, 100, 0, ArrayList<Int>())
val features = brainyFeatures()
val features = brainyFeatures().checked()
val exp = Experiment(10, bench, features,runner)
val results = exp.run()
for (iteration in results) {
Assertions.assertEquals(bench, iteration.benchmark)
Assertions.assertTrue(iteration.values.values.all { it > 0 })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment