Build/Tests

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 only been run successfully on Linux. Other platforms may 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 subprocess.


 * tightvncserver
 * Needed for x3270 tests.


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