Skip to content

Commit 9665b29

Browse files
authored
Merge pull request kdlucas#22 from meteorfox/fix-16-cpus-limitation
make maxCopies unbounded for 'system' and 'misc' suites
2 parents c22488d + 9102769 commit 9665b29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UnixBench/Run

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ my $TESTDIR = getDir('UB_TESTDIR', $BASEDIR . "/testdir");
106106

107107
# Configure the categories to which tests can belong.
108108
my $testCats = {
109-
'system' => { 'name' => "System Benchmarks", 'maxCopies' => 16 },
109+
'system' => { 'name' => "System Benchmarks", 'maxCopies' => 0 },
110110
'2d' => { 'name' => "2D Graphics Benchmarks", 'maxCopies' => 1 },
111111
'3d' => { 'name' => "3D Graphics Benchmarks", 'maxCopies' => 1 },
112-
'misc' => { 'name' => "Non-Index Benchmarks", 'maxCopies' => 16 },
112+
'misc' => { 'name' => "Non-Index Benchmarks", 'maxCopies' => 0 },
113113
};
114114

115115

@@ -1347,7 +1347,7 @@ sub runTests {
13471347
# If the benchmark doesn't want to run with this many copies, skip it.
13481348
my $cat = $params->{'cat'};
13491349
my $maxCopies = $testCats->{$cat}{'maxCopies'};
1350-
next if ($copies > $maxCopies);
1350+
next if ($maxCopies > 0 && $copies > $maxCopies);
13511351

13521352
# Run the benchmark.
13531353
my $bresult = runBenchmark($bench, $params, $verbose, $logFile, $copies);

0 commit comments

Comments
 (0)