1 """
2 Test for platform functionality (for internal use).
3 """
4
5 import vtrace
6 import vtrace.platforms.base as v_base
7
8
9
10
11
12
13
15 """
16 Print out a list of platform requirements and weather
17 a particular tracer meets them. This is mostly a
18 development tool to determin what's left to do on a
19 tracer implementation.
20 """
21 for mname in dir(v_base.BasePlatformMixin):
22 if "__" in mname:
23 continue
24 if getattr(trace.__class__, mname) == getattr(v_base.BasePlatformMixin, mname):
25 print "LACKS:",mname
26 else:
27 print "HAS:",mname
28
29 if __name__ == "__main__":
30 trace = vtrace.getTrace()
31 auditTracer(trace)
32