mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
Pytest: default settings on PC improvements (#30441)
* always multithreaded * multithreaded * pkill correct process * escape more * load for interfaces old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
This commit is contained in:
@@ -106,7 +106,7 @@ class TestSensord(unittest.TestCase):
|
||||
os.environ["LSM_SELF_TEST"] = "1"
|
||||
|
||||
# read initial sensor values every test case can use
|
||||
os.system("pkill -f ./sensord")
|
||||
os.system("pkill -f \\\\./sensord")
|
||||
try:
|
||||
managed_processes["sensord"].start()
|
||||
cls.sample_secs = int(os.getenv("SAMPLE_SECS", "10"))
|
||||
|
||||
Reference in New Issue
Block a user