Commit Graph

22 Commits

Author SHA1 Message Date
Adeeb Shihadeh
782d7023d2 phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh
ad96d0d130 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
old-commit-hash: de7a9e0116
2021-10-07 13:22:14 -07:00
Dean Lee
0d226299e7 test_replay.cc: temporarily comment out the rand seek test (#22192)
* Temporarily comment out the rand seek test

* enable ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci
old-commit-hash: f3683dd4cb
2021-09-10 21:53:46 -07:00
Adeeb Shihadeh
75b50fc128 disable replay tests for now
old-commit-hash: 95ee5daec5
2021-09-10 17:33:20 -07:00
Dean Lee
1d5ca75029 FrameReader: do not depend on Qtunit tests (#21379)
* add timeout and test case

* remove useless comment

* reduce to 1s

* fix gotframe fail when Duplicate POC in a sequence

* cleanup

* remove space

* fix
old-commit-hash: 81a128cd76
2021-09-09 13:40:12 -07:00
Adeeb Shihadeh
984fc2008d handle missing routes better in test car models
old-commit-hash: 81006b03c2
2021-09-06 19:21:06 -07:00
Dean Lee
0fac38e34f LoggerState: test cases (#21855)
* test multiple threads writing to log

* fix typo

* use util::getenv

* check INIT_DATA and SENTINEL

* test END_OF_SEGMENT

* add comment

* test multiple threads logging and rotation

* cleanup

* update

* LoggerHandle:quick fix

* cleanup

* revert test_loggerd.py

* refactor test case

* check lock file

* check refcnt after close

* test_runner.cc

d

* int eixt_signal
old-commit-hash: 935cbd3139
2021-08-30 17:12:09 -07:00
Dean Lee
ee8b53a7e8 proclogd: reduce the size of the procLog message by nearly half (#21800)
* cp msg to remove the space

* no orphans

* cleanup

* parse using istringstream

* add test

* split files

* cleanup

* add parser.cc to files_common

* add test for build message

* use > 0

* cleanup

* test proc/self/stat

* more test

* dd

* fix bug

* update test

* refactor pidStat

* cleanup

* test exe

* check procs size in message

* rename pidStat->ProcStat

* don't use util::format_string

* robust pids()

* catch conversion exception

* fix softirq

* udpate test

* use istringstream

* use REQUIRE_THAT&cleanup

* reserve vector of procStats

* use istream to parse cmdline

* cleanup
old-commit-hash: d0fa98931b
2021-08-05 11:27:02 +02:00
Adeeb Shihadeh
28ddda3011 remove nav sconscript hack (#21768)
* remove nav sconscript hack

* pc files
old-commit-hash: 7a5f30f16b
2021-07-28 17:44:01 -07:00
Adeeb Shihadeh
88eab8b0a8 check submodule commits on master (#21446)
old-commit-hash: ccf2780456
2021-07-01 23:12:39 -07:00
Adeeb Shihadeh
add0d2d65e CI: fix hanging if build failed
old-commit-hash: 7d04be39cb
2021-06-30 17:58:28 -07:00
Dean Lee
6bfc7f4ca5 common/util.cc: add unit test, fix bug in util::read_file (#21251)
* add test case for util

* fix bug in read_file

* gitignore test_util

* better test

* referer

* more

* more test

* REQUIRE size

* apply reviews

* only test binary

* simplify the test

* read  non-permission

* debug print

* remove /etc/shadow

* test read directory

* Update selfdrive/common/tests/test_util.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a873a23e0d
2021-06-16 11:01:13 +02:00
Adeeb Shihadeh
d1068dc263 increase test car moddels timeout
old-commit-hash: 164e018d38
2021-06-04 04:38:43 -07:00
Adeeb Shihadeh
fb62002e92 use scons cache by default (#21102)
* always use scons cache

* cleanup
old-commit-hash: a0dabd94e9
2021-06-01 17:12:32 -07:00
Adeeb Shihadeh
c7c49e8e35 fix up model tests + tools (#21071)
* unlogger: send yuv stream

* fix up model test tools

* fix unlogger

* rename model replay

* bump cereal

* test in actions

* no ci for now
old-commit-hash: cf6d133638
2021-05-28 23:08:08 -07:00
Adeeb Shihadeh
89105c46ac disable mac for now
old-commit-hash: 5488793a60
2021-05-20 03:14:43 -07:00
Adeeb Shihadeh
df17f65c61 cleanup car tests (#20562)
* cleanup test_car_models

* don't fail on that
old-commit-hash: 7e632900e5
2021-04-01 16:46:08 -07:00
Adeeb Shihadeh
85ab6b1c79 test build script in CI (#20482)
old-commit-hash: cfe4cea2c9
2021-03-25 20:22:59 -07:00
ZwX1616
d8c1e9a16e set_exposure_target test (#20318)
* build

* remove junk

* clean up

* clean up rebase

* new patterns

* add gts

* add to jenkis

* this more useful

* typo

* test only

* Update Jenkinsfile

* test flag

* remove from jenkins

* these should all just be common:wq

* oops

* unigt

* add to unit tests?

* build all is fine

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 65bb979c34
2021-03-12 17:40:50 -08:00
Adeeb Shihadeh
233c41bc60 scons cache in CI (#20197)
* scons cache in ci

* clean up cache

* fix cleanup step

* non fixed key

* quote
old-commit-hash: 7921759bbe
2021-02-28 15:50:20 -08:00
Adeeb Shihadeh
b93cc8417a CI: fix webcam cache
old-commit-hash: 9288031e6f
2021-02-27 21:54:34 -08:00
Adeeb Shihadeh
0823abceff tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
old-commit-hash: d1b44bbb34
2021-02-17 20:37:01 -08:00