Build/Tests

New in 4.2

The x3270 top-level Makefile supports running various tests on the code. Only Unix tests can be run from the top-level Makefile.

Tests have been run successfully on Linux, macOS, Windows and Cygwin. Other platforms may or may not work.

Tests targets include:
 * make test
 * Run all tests


 * make smoketest
 * Run smoke tests (rudimentary subset)


 * make unix-lib-test
 * Run library tests.


 * make program-test
 * Run tests for the specified program.

Prerequisites
The tools required to run the tests are:
 * python3
 * Needed for everything but the library tests. Modules that may not be part of a typical release include requests and pustil.


 * tightvncserver
 * Needed for x3270 tests.


 * openssl command-line tools
 * Needed for TLS tests.