To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 4f1291e5 authored by Andreas Sewe's avatar Andreas Sewe
Browse files

Addressed issue #3056006 (changed "user.home" system property during actual benchmark iteration).

parent ce71c314
......@@ -9,6 +9,7 @@
package org.dacapo.harness;
import java.io.File;
import java.util.Properties;
import org.dacapo.harness.Benchmark;
import org.dacapo.parser.Config;
......@@ -33,6 +34,16 @@ public class Avrora extends Benchmark {
args = config.preprocessArgs(size, scratch);
}
@Override
public void augmentSystemProperties(Properties systemProperties) {
/*
* The benchmark attempts to access a configuration file under
* "${user.home}/.avrora". Make sure that it does not exist.
*/
systemProperties.setProperty("user.home", fileInScratch(config.name));
}
public void iterate(String size) throws Exception {
method.invoke(null, (Object) args);
}
......
Markdown is supported
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