File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
FprimeZephyrReference/test Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 11import os
2- import signal
32import subprocess
43import time
54
65import pytest
76from fprime_gds .common .testing_fw .api import IntegrationTestAPI
87
98
10- @pytest .fixture (scope = "session" )
9+ @pytest .fixture (scope = "session" , autouse = True )
1110def start_gds (fprime_test_api_session : IntegrationTestAPI ):
12- pro = subprocess .Popen (
13- ["make" , "gds-integration" ],
14- cwd = os .getcwd (),
15- stdout = subprocess .PIPE ,
16- preexec_fn = os .setsid ,
17- )
11+ process = subprocess .Popen (["make" , "gds-integration" ], cwd = os .getcwd ())
1812
1913 gds_working = False
2014 timeout_time = time .time () + 30
@@ -30,7 +24,7 @@ def start_gds(fprime_test_api_session: IntegrationTestAPI):
3024 assert gds_working
3125
3226 yield
33- os . killpg ( os . getpgid ( pro . pid ), signal . SIGTERM )
27+ process . kill ( )
3428
3529
3630def test_bootloader (fprime_test_api : IntegrationTestAPI ):
You can’t perform that action at this time.
0 commit comments