Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/run-experiment
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def jacoco_execinfo(experiment_dir, jacoco):


def jacoco_report(experiment_dir, jacoco, classfiles):
command = [jacoco, 'report', '--csv', path.join(experiment_dir, 'jacoco-report.csv')]
command = [jacoco, 'report', '--csv', path.join(experiment_dir, 'jacoco-report.csv'),
'--html', path.join(experiment_dir, 'html')
]
for cs in classfiles:
command.append('--classfiles')
command.append(cs)
Expand Down Expand Up @@ -118,6 +120,7 @@ def main(args):
])

exec_check_targets_exist(args.module, args.targets_file, args.project_dir)
shutil.rmtree(path.join(args.project_dir, args.module, 'src', 'test', 'resources', 'org'), ignore_errors=True)
exec_run_targets(args.experiment_dir, args.project_dir, args.targets_file, args.threads, args.module, run_targets)
shutil.copytree(path.join(args.project_dir, str(args.module or '.'), 'src', 'test', 'resources'),
path.join(args.experiment_dir, 'resources'))
Expand Down