Hi,
to build the unittests, run cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug <srcdir> from your builddirectory. Build the code with cmake --build <builddir> The unittests are binaries in the Testing subdirectory of your build directory (TestAlignment is part of TestCrt, so start directly with ./TestCrt TestAlignment regards Armin On 19.04.20 18:03, Steve Williams via FreeRDP-devel wrote: > Hi, > > I am having an issue with a core dump when running FreeRDP on > OpenBSD. The issue is in winpr/libwinpr/crt/alignment.c. > > I am an experienced C programmer, but new to this whole "CMAKE" world. > > I can see there is a unit test "TestAlignment.c" which would be > simpler to work with. > > Is there an easy way to be able to build and run this code? > > It looks like I could change it to be a "main(int argc, char *argv[])" > and create a simple Makefile, but surely there's a way to run this > within the current build infrastructure. > > Thanks, > Steve Williams > > > > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel