Figured it out. Apparently when I checked out the code, I indicated that git should convert the \n to \r\n(native line ending on Windows), which causes the tests to fail, as the "known-good" files were subtly changed with their line endings, which caused the (binary) comparison to fail.
Fortunately, adding a .gitattributes file fixes this issue. I'll put that up shortly, and then do a bigger PR with the github actions sometime soon, hopefully with the OSX crash fixed. -Robert Middleton On Mon, Sep 7, 2020 at 3:23 AM Thorsten Schöning <tschoen...@am-soft.de> wrote: > Guten Tag Robert Middleton, > am Sonntag, 6. September 2020 um 20:54 schrieben Sie: > > > Thorsten, do all of the tests pass for you? The reason I ask is because > > the 'encodingtest' always fails for me. I've gotten the build to run > with > > Github Actions as well, and it always fails there as well, so maybe > there's > > some sort of locale/encoding issue going on? > > It works for me when running in Visual Studio with pretty much default > installation, executing "ctest" manually on the old "cmd.exe" and > doing the same with Powershell as well. I just pulled your merged PR > and tested with MASTER after removing all old CMAKE- and VS-related > directories from the project. > > I did NOT customize any string-related options of the CMAKE-build, so > whatever the build defaults to should be used in my environment. > > Additionally, running the tests after building with Embarcadero RAD > Studio 10.2 on "cmd.exe" succeeds as well. One important difference is > that I'm using the wchar_t-API of log4cxx in those cases. > > Running those tests additionall results in lots of output on the > console, which is not the case for "ctest". There's e.g. the following > first line, but nothing more specifically focussing "encodingtest": > > > LC_CTYPE: LC_CTYPE=German_Germany.850 > > [...] > > encodingtest : SUCCESS > > Do you get any useful error output at all somewhere? If not, not using > "ctest" in favour of a plain exe might help debugging. I've uploaded > my built projects somewhere, just if it is of any help: > > https://gofile.io/d/xvkWcK > > The attached mail contains infos about where to place things. > > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de > AM-SoFT IT-Systeme http://www.AM-SoFT.de/ > > Telefon...........05151- 9468- 55 > Fax...............05151- 9468- 88 > Mobil..............0178-8 9468- 04 > > AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow