mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-10-01 01:43:41 +08:00
Model + camerad test (#1622)
* kind of works
* move that
* hack to get camerad to reliably terminate
* not sure why SIGTERM wasn't working before
* compare bytes
* clean up some hacks
* gitignore
* fix that
* WIP
* no reboot
* comparison works
* pretty print
* fix build
* run in jenkins
* python path
* space
* raise timeout
* new eon
* skip the copy
* spinner
* spin less
* update model ref commit
* reenable that
* clean up
* fix jenkinsfile
* parallel
* wrap it in a stage
* fix linter
* better progress
* lower timeout
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
import json
|
||||
import os
|
||||
from common.android import ANDROID
|
||||
from common.file_helpers import mkdirs_exists_ok
|
||||
|
||||
class MissingAuthConfigError(Exception):
|
||||
pass
|
||||
|
||||
CONFIG_DIR = os.path.expanduser('~/.comma')
|
||||
if ANDROID:
|
||||
CONFIG_DIR = "/tmp/.comma"
|
||||
else:
|
||||
CONFIG_DIR = os.path.expanduser('~/.comma')
|
||||
mkdirs_exists_ok(CONFIG_DIR)
|
||||
|
||||
def get_token():
|
||||
|
||||
Reference in New Issue
Block a user