Archipelago/test
black-sliver acf85eb9ab
Speedups: remove dependency on c++ (#2796)
* Speedups: remove dependency on c++

* Speedups: intset: handle malloc failing

* Speedups: intset: fix corner case for int64 on 32bit systems

original idea was to only use bucket->val if int<pointer,
but we always have a union now anyway

* Speedups: add size comment to player_set bucket configuration

* test: more tests for LocationStore.find_item

* test: require _speedups in CI

This kind of tests that the build succeeds.

* test: even more tests for LocationStore.find_item

* Speedups: intset uniform comment style

* Speedups: intset: avoid memory leak when realloc fails

* Speedups: intset: make `gcc -pedantic -std=c99 -fanalyzer` without warnings

Unnamed unions are not in C99, this got fixed.
The overhead of setting count=0 is minimal or optimized-out and silences -fanalizer (see comment).

* Speedups: don't leak memory in case of exception

* Speedups: intset: validate alloc and free

This won't happen in our cython, but it's still a good addition.

* CI: add test framework for C/C++ code

* CI: ctest: fix cwd

* Speedups: intset: ignore msvc warning

* Tests: intset: revert attempt at no-asan

We solve this with env vars in ctest now, and this fails for msvc.

* Test: cpp: docs: fix typo

* Test: cpp: docs: fix another typo

* Test: intset: proper bucket count for Negative test

INTxx_MIN % 1 would not produce a negative number, so the test was flawed.
2024-06-12 18:54:59 +02:00
..
benchmark Tests: add world load benchmark (#2768) 2024-02-04 09:09:07 +01:00
cpp Speedups: remove dependency on c++ (#2796) 2024-06-12 18:54:59 +02:00
general Tests: Add checksum validation to the postgen datapackage test (#3456) 2024-06-10 09:28:28 +02:00
hosting Test: hosting: handle writes during start_room (#3492) 2024-06-08 17:51:09 +02:00
multiworld Tests: add test for 2-player-multiworlds (#2386) 2024-03-11 23:22:30 +01:00
netutils Speedups: remove dependency on c++ (#2796) 2024-06-12 18:54:59 +02:00
options Core: add unit tests and more documentation for numeric options (#2926) 2024-06-06 00:17:52 +02:00
programs Core: Remove Universally Unique ID Requirements (Per-Game Data Packages) (#1933) 2024-06-01 06:07:13 -05:00
utils Utils: YAML goes brrrt (#2868) 2024-02-27 08:44:34 +01:00
webhost WebHost: Allowing options that work on WebHost to be used in presets (#3441) 2024-06-03 03:42:27 -05:00
worlds Core: fix unittest world discovery (#2262) 2023-10-03 09:47:22 +02:00
TestBase.py Tests: modern PEP8-ify core test modules and methods (#2298) 2023-10-22 13:00:27 +02:00
__init__.py Core: fix unittest world discovery (#2262) 2023-10-03 09:47:22 +02:00
bases.py Core: replace `Location.event` with `advancement` property (#2871) 2024-04-14 20:37:48 +02:00