Andrew Krieger
0215b26cce
Rewrite all tests to clear map without touching character map memory, for performance.
2026-02-08 23:05:55 -08:00
moxian
c44d65a8ae
Run IWYU again to pick up the changes
2025-02-11 13:02:19 -08:00
moxian
2ee44002fd
Mechanically IWYU the tests
...
python3 ~/github/include-what-you-use/iwyu_tool.py -j5 -p build $( find
src/ tests/ -maxdepth 1 -name '*.cpp' | grep -v -f
tools/iwyu/bad_files.txt ) -- -Xiwyu --comment_style=long -Xiwyu -
-max_line_length=1000 -Xiwyu --cxx17ns -Xiwyu
--mapping_file=../tools/iwyu/cata.imp | tee out/iwyu/f-a-01.txt >
/dev/null
followed by
cat out/iwyu/f-a-02.txt | python3
~/github/include-what-you-use/fix_includes.py --reorder --nosafe_headers
followed by manual fixups of <stddef.h> -> <cstddef> and similar.
tests/generic_factory_test.cpp gets mangled very badly (IWYU bug) so
it's excluded from the list.
Code size:
includes:
$ cat obj/tiles/*.inc | wc
288068 576136 17898260
$ cat tests/obj/tiles/*.inc | wc
167044 334088 10465766
post-processed source (clang -E):
./make_preproc.sh src/
68567896 177775140 2134075721
./make_preproc.sh tests/
39341957 102891720 1243323710
2025-02-10 00:46:57 -08:00
Clarence "Sparr" Risher
8b27b967ae
Replace point constants with static class members
2024-11-26 10:14:26 -05:00
PatrikLundell
a975e4d461
typified end of 'a'
2024-11-23 14:29:10 +01:00
PatrikLundell
4ba6a9f7a8
Typified parts of map.h/map.cpp + usages
2024-07-18 00:23:02 +02:00
PatrikLundell
027459c311
Typified a bit of map.h/cpp + dependents ( #74979 )
...
* Typified a bit of map.h/cpp + dependents
* demanded change
* demanded change
2024-07-17 08:47:51 -04:00
Procyonae
e9f4fbd110
Remove extern ter ids ( #72766 )
2024-04-04 07:08:37 -07:00
RenechCDDA
b0882ee2eb
Update tests for protected moves variable
2024-03-09 16:33:12 -05:00
Alexey
07356b65a5
Normalize TEST_CASE names ( #66241 )
...
* Convert integer parsing test to use normal TEST_CASEs
* Rename test name too similar to another
* Test to enforce normalized test names
* Normalize TEST_CASE names (scripted)
2023-06-17 13:57:19 -03:00
andrei
77955ca0c6
map: run open_door() logic with the right creature ( #57756 )
2022-05-17 20:07:30 -04:00
Matthew Cain
6ba664efc9
Write door and window unit tests ( #54874 )
...
* Write door unit tests
* Write window unit tests
* Test gates making sound
* Test gate action move cost
2022-01-30 23:04:32 -08:00