mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-03-04 13:03:54 +08:00
pj: handle no qt
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import os
|
||||
import glob
|
||||
import shutil
|
||||
import signal
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
import pytest
|
||||
|
||||
from openpilot.common.basedir import BASEDIR
|
||||
from openpilot.common.timeout import Timeout
|
||||
from openpilot.tools.plotjuggler.juggle import DEMO_ROUTE, install
|
||||
@@ -12,6 +15,7 @@ PJ_DIR = os.path.join(BASEDIR, "tools/plotjuggler")
|
||||
|
||||
class TestPlotJuggler:
|
||||
|
||||
@pytest.mark.skipif(not shutil.which('qmake'), reason="Qt not installed")
|
||||
def test_demo(self):
|
||||
install()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user