Age | Commit message (Collapse) | Author |
|
It turns out, `unix_time` is also monotonic, and is used as such, so I've
renamed the new functions to `mono_time_*`.
2018-07-08:
```
00:01 <@irungentoo> the idea used to be that the unix_time() function
could go backward in time but I think I might have started using it like
if it could not after I changed it so that it would never go back in time
```
|
|
|
|
Also, renamed simple_conference_test to conference_simple_test so it's
sorted together with the other conference tests.
Next step is to use run_auto_test.h for the conference test.
|
|
|
|
These can serve as documentation until we write actual api docs, probably
using apidsl.
|
|
Have one script per build. This means more duplication between the
scripts, but it's much easier to understand and to run locally.
|
|
|
|
These display some idea, but the tests are not implemented correctly. We
will need to implement the idea correctly later, but for now we can't use
these.
|
|
|
|
It's annoying to have a test touch every source file. It causes a
recompile of everything after every test run.
|
|
`clang-format -style='{BasedOnStyle: Google, ColumnLimit: 100}'`
|
|
This one has ASAN enabled, unlike Travis.
|
|
In Persistent Group Chats (PGC), this will cause a use-after-free. This
test ensures that we fix this bug before merging PGC.
|
|
This can be used as a random stress test for toxcore.
Adjust the weights to make certain actions more or less likely.
|
|
Related: https://github.com/qTox/qTox/issues/5174
|
|
This triggers a code path in Persistent Group Chats that causes a memory
leak. I'm adding this test now, so that we don't merge PGC without fixing
the memory leak first.
|
|
This test has never caught a bug. It's better to catch these with asan or
the likes.
|
|
`-fsanitize=address` also needs to be passed to the linker.
|
|
Signed overflow is undefined behaviour, so in debug mode, we want to make
it fail in a noisy way.
|
|
|
|
|
|
|
|
|
|
|
|
This only works with clang/llvm. Coveralls support needs to be added later.
|
|
|
|
|
|
This is needed for libvpx to work on android.
This also means that we can upload our test binaries to an android device
and actually run them, now that libcheck is no longer a blocker.
|
|
It's missing vpx and opus at the moment.
|
|
|
|
|
|
apidsl is in feature freeze. We can rely on the web service, instead.
|
|
|
|
|
|
This caused us to build everything 2-4 times, now we only build it 1-2
times (depending on selection of static/shared builds). The disadvantage
is that now it's more up to the reviewer to ensure modularity (we still
catch it in the bazel build, though).
|
|
Instead of 1 FT blocking all others.
|
|
So we can keep supporting cmake 2.8.12, which is the version on ubuntu
trusty.
|
|
Also fix library dependency order for monolith test.
|
|
We're not gaining much from this library, and it's a burden, especially
for windows development.
|
|
Otherwise it won't be found when cross-compiling.
|
|
Also, add an auto-test for bootstrap and for LAN discovery.
Bootstrap is never tested otherwise, and LAN discovery is a prerequisite
for everything else. Having these two tests lets us rule out or identify
LAN discovery as a possible cause for test failures.
|
|
This is not used by anything in the code, so we shouldn't have it in the
header.
|
|
|
|
Instead of hard-erroring when we don't find dependencies, we just don't
build the things requested and print a warning. This is less annoying to
users because we enable a bunch of things by default. This way, we can at
least build something with the default "cmake" invocation.
|
|
Also reduce number of people in conference to 5, because on Circle CI the
test times out trying to connect more than 6 or 7 people. The persistent
conferences PR will improve this so we can set it much higher then.
|
|
https://github.com/TokTok/toxins/tree/master/tox_shell
|
|
|
|
|
|
This changes only code, no string literals or comments.
|
|
Without this, `UINT*_MAX` are not defined.
|