| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b5ae339 commit 02e665c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -110,7 +110,6 @@ def RunCommand(self, command, env): | |||
| 110 | 110 | self.context.GetTimeout(self.mode), | |
| 111 | 111 | env, | |
| 112 | 112 | True) | |
| 113 | - self.Cleanup() | ||
| 114 | 113 | return test.TestOutput(self, | |
| 115 | 114 | full_command, | |
| 116 | 115 | output, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -517,21 +517,12 @@ def RunCommand(self, command, env): | |||
| 517 | 517 | self.context.GetTimeout(self.mode), | |
| 518 | 518 | env, | |
| 519 | 519 | disable_core_files = self.disable_core_files) | |
| 520 | - self.Cleanup() | ||
| 521 | 520 | return TestOutput(self, | |
| 522 | 521 | full_command, | |
| 523 | 522 | output, | |
| 524 | 523 | self.context.store_unexpected_output) | |
| 525 | 524 | ||
| 526 | - def BeforeRun(self): | ||
| 527 | - pass | ||
| 528 | - | ||
| 529 | - def AfterRun(self, result): | ||
| 530 | - pass | ||
| 531 | - | ||
| 532 | 525 | def Run(self): | |
| 533 | - self.BeforeRun() | ||
| 534 | - | ||
| 535 | 526 | try: | |
| 536 | 527 | result = self.RunCommand(self.GetCommand(), { | |
| 537 | 528 | "TEST_THREAD_ID": "%d" % self.thread_id, | |
@@ -547,12 +538,8 @@ def Run(self): | |||
| 547 | 538 | from os import O_NONBLOCK | |
| 548 | 539 | for fd in 0,1,2: fcntl(fd, F_SETFL, ~O_NONBLOCK & fcntl(fd, F_GETFL)) | |
| 549 | 540 | ||
| 550 | - self.AfterRun(result) | ||
| 551 | 541 | return result | |
| 552 | 542 | ||
| 553 | - def Cleanup(self): | ||
| 554 | - return | ||
| 555 | - | ||
| 556 | 543 | ||
| 557 | 544 | class TestOutput(object): | |
| 558 | 545 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments