[Ns-bugs] [Bug 1120] New: NS_LOG environment variable not working with test.py

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu May 12 23:04:32 PDT 2011


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

           Summary: NS_LOG environment variable not working with test.py
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: test framework
        AssignedTo: watrous at u.washington.edu
        ReportedBy: nbaldo at cttc.es
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


Tom Henderson <tomh at tomh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ns-bugs at isi.edu
         AssignedTo|tomh at tomh.org               |watrous at u.washington.edu

Currently it is not possible to do the following:

NS_LOG=MyLogComponent ./test.py  -s my-test-suite

Hence, to turn on loggin in test programs I have to hardcode
"LogComponentEnable" statements in the test code. This makes it more time
consuming to debug tests.

This is an enhancement request, but I think we should give it high priority,
because based on my opinion if writing tests is too complex then people won't
write many tests.

-- 
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