[go: up one dir, main page]

File: t072_no_comment.py

package info (click to toggle)
uftrace 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,212 kB
  • sloc: ansic: 53,313; python: 9,846; makefile: 838; asm: 703; cpp: 602; sh: 560; javascript: 191
file content (23 lines) | stat: -rw-r--r-- 592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python

from runtest import TestBase

class TestCase(TestBase):
    def __init__(self):
        TestBase.__init__(self, 'abc', """
# DURATION    TID     FUNCTION
   0.508 us [  772] | __monstartup();
   0.425 us [  772] | __cxa_atexit();
            [  772] | main() {
            [  772] |   a() {
            [  772] |     b() {
            [  772] |       c() {
   0.419 us [  772] |         getpid();
   0.844 us [  772] |       }
   1.037 us [  772] |     }
   1.188 us [  772] |   }
   1.378 us [  772] | }
""")

    def setup(self):
        self.option = '--no-comment'