From 76887bf63a219ca1f82098e139139f13c7751ab3 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sun, 28 Apr 2013 16:31:01 +0800 Subject: update modifyLambda --- evaluate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'evaluate.py') diff --git a/evaluate.py b/evaluate.py index e83eb22..3c8f55d 100755 --- a/evaluate.py +++ b/evaluate.py @@ -82,9 +82,9 @@ def estimateModel(reportfile): return avg_lambda -def modifyCodeforLambda(lambdaparam): +def modifyLambda(lambdaparam): #begin processing - cmdline = ['/usr/bin/make', 'rebuild', \ + cmdline = ['/usr/bin/make', 'modify', \ 'LAMBDA_PARAMETER=' + str(lambdaparam)] subprocess = Popen(cmdline, shell=False, close_fds=True) (pid, status) = os.waitpid(subprocess.pid, 0) @@ -163,8 +163,8 @@ if __name__ == '__main__': cwdstatus['EvaluateAverageLambda'] = avg_lambda utils.store_status(cwdstatuspath, cwdstatus) - print('rebuilding') - modifyCodeforLambda(avg_lambda) + print('modifying lambda') + modifyLambda(avg_lambda) print('evaluating') reportfile = os.path.join(trydir, 'evaluate' + config.getReportPostfix()) -- cgit