[Ns-bugs] [Bug 1325] Python examples get valgrind errors when build subdirectories are specified in waf

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Feb 16 19:31:07 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1325

--- Comment #5 from Mitch Watrous <watrous at u.washington.edu> 2012-02-16 22:31:07 EST ---
(In reply to comment #4)
> The problem is here:
> 
> def run_job_synchronously(shell_command, directory, basedir, valgrind,
> is_python, build_path=""):
>     (base, build) = os.path.split (NS3_BUILDDIR)
> 
> This test.py program could really use some refactoring: all the needed paths
> are in the Job object, this run_job_synchronously should be a method of Job,
> not a function, to get access to all the attributes.

What exactly is the problem in that function?

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list