Skip to content

Commit

Permalink
[test/unit] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Mar 9, 2024
1 parent 425435a commit 64172e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/process_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def testPipeline(self):
ext_prog=self.ext_prog)
print('BEFORE', os.listdir('/dev/fd'))

p = process.Pipeline(False, self.job_control, self.job_list)
p = process.Pipeline(False, self.job_control, self.job_list, self.tracer)
p.Add(self._ExtProc(['ls']))
p.Add(self._ExtProc(['cut', '-d', '.', '-f', '2']))
p.Add(self._ExtProc(['sort']))
Expand All @@ -159,7 +159,7 @@ def testPipeline2(self):
ext_prog=self.ext_prog)

Banner('ls | cut -d . -f 1 | head')
p = process.Pipeline(False, self.job_control, self.job_list)
p = process.Pipeline(False, self.job_control, self.job_list, self.tracer)
p.Add(self._ExtProc(['ls']))
p.Add(self._ExtProc(['cut', '-d', '.', '-f', '1']))

Expand All @@ -178,7 +178,7 @@ def testPipeline2(self):
thunk2 = process.SubProgramThunk(cmd_ev, node2, self.trap_state)
thunk3 = process.SubProgramThunk(cmd_ev, node3, self.trap_state)

p = process.Pipeline(False, self.job_control, self.job_list)
p = process.Pipeline(False, self.job_control, self.job_list, self.tracer)
p.Add(Process(thunk1, self.job_control, self.job_list, self.tracer))
p.Add(Process(thunk2, self.job_control, self.job_list, self.tracer))
p.Add(Process(thunk3, self.job_control, self.job_list, self.tracer))
Expand Down Expand Up @@ -208,7 +208,7 @@ def makeTestPipeline(self, jc):
cmd_ev = test_lib.InitCommandEvaluator(arena=self.arena,
ext_prog=self.ext_prog)

pi = process.Pipeline(False, jc, self.job_list)
pi = process.Pipeline(False, jc, self.job_list, self.tracer)

node1 = _CommandNode('/bin/echo testpipeline', self.arena)
node2 = _CommandNode('cat', self.arena)
Expand Down

0 comments on commit 64172e0

Please sign in to comment.