|
š„ Alexander Gallego
@
emaxerrno
San Francisco, CA
|
|
made in manizales, colombia. founder of @VectorizedIO (we're hiring!). x-@concord founder. maintainer of smfrpc.github.io/smf/ . x-@akamai. views are my own.
|
|
|
9.337
Tweetovi
|
1.238
Pratim
|
786
Osobe koje vas prate
|
| Tweetovi |
|
š„ Alexander Gallego
@emaxerrno
|
2. velj |
|
c++ feels like python sometimes. pic.twitter.com/2s1rtZgeW6
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
-L <regex>
So similar to -R
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
Yeah ctest. Still dope.
twitter.com/emaxerrno/statā¦
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
I like the idea of x-module classification quite a bit.
That's a good idea. We do that via postfix: _integration, _unit, _bench, but I like labels better now.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
also @dotnwat intro'ed me to that feature. <3
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
like a `controller` which may invoke suites in storage, rpc, raft and cluster bootstrap.
so is hard to get -R to work on that where as labels just work.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
i do too, but this is nicer in that you can give any arbitrary tags.
set_tests_properties(FirstTest PROPERTIES LABELS "TESTLABEL;UnitTest;FooModule")
so say you want to replay the storage subsystem, you can just add tags, but say you have a higher level feature
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
i meant to say ctest -L <tag>
so it's neat if you have say hundreds of test and want to run only a subset pic.twitter.com/0Nq5rGsiDT
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
i.e.:
cmake -L rpc
will run all RPC label-tagged tests, etc. arbitrary mapping.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
1. velj |
|
TIL: cmake labels on test targets, so you can do
cmake -L <target>
which can be any string!
woah.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
31. sij |
|
That's cheap in SF.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
31. sij |
|
since high school. i was very into music then, all sorts... salsa, triphop, and 84' punkrock. ha.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
31. sij |
|
š
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
Haha. Tip-top
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
āš½
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
emoji obvi. šš¤šš¤£š„³
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
the `const noexcept` is really quite verbose tbh. our codebase has some of those sprinkled in but not consistently.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
Ohh more info pls. This is great.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
30. sij |
|
Ceph has excellent support. If you get stuck, is easy to look at examples on how to work around things. Honestly all build systems are hard to use for non trivial projects.
|
||
|
|
||
|
š„ Alexander Gallego
@emaxerrno
|
29. sij |
|
We can test our Kafka implementation log recovery next, once they land upstream in seastar
|
||
|
|
||