Skip to content

Commit 7d8c9d0

Browse files
committed
Alternative way
1 parent e72203e commit 7d8c9d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/execution/testset.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ mutable struct PerfTestSet <: AbstractTestSet
3939
end
4040
end
4141

42-
BenchmarkGroup = BenchmarkTools.BenchmarkGroup
42+
function newBenchmarkGroup() :: BenchmarkGroup
43+
return BenchmarkGroup()
44+
end
4345

4446

4547
# Save test results or child test sets

src/transform/suffix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function perftestsuffix(context :: Context)
169169

170170
testresdict = Dict{String,Union{Dict,Test_Result}}()
171171
if TS isa Vector
172-
benchmarks = PerfTest.BenchmarkGroup()
172+
benchmarks = PerfTest.newBenchmarkGroup()
173173
for ts in TS
174174
testresdict[ts.description * ts.iterator] = extractTestResults(TS)
175175
benchmarks[ts.description * ts.iterator] = ts.benchmarks

0 commit comments

Comments
 (0)