What does `ldd build/bin/syntax/testhighlighter_test` tell you?
What, if you first source build/prefix.sh?

Likely the wrong lib is used.

Greetings
Dominik


Adrian Chaves <adrian@chaves.io> schrieb am So., 27. Okt. 2019, 17:49:
I emptied data/syntax/rest.xml (made it a valid syntax file that would
mark all text as normal).

Then I run:

     rm -rf build && mkdir build && cd build
     cmake .. && make -j8 && make test

But the contents of build/autotests/html.output/highlight.rst.html are
still those that would be generated if data/syntax/rest.xml had not been
changed.