aboutsummaryrefslogtreecommitdiff
path: root/test/README
diff options
context:
space:
mode:
authorMikhail <mp39590@gmail.com>2017-03-09 09:32:43 -0400
committerDavid Bremner <david@tethera.net>2017-03-25 07:56:52 -0300
commit9b7dbed58ebd3aeee16b044fdffda6b39e90643e (patch)
tree25f919a885e83e43954ef085ececbd849463f447 /test/README
parente1ddd27968673e6785300e739f5257b83841fb97 (diff)
tests: add compatibility layer
Make test-lib-common.sh load test-lib-<$PLATFORM>.sh to create additional shim for platform specifics. Use test-lib-FREEBSD.sh to call GNU utilities instead of native ones. - amended by db following Tomi's suggestions
Diffstat (limited to 'test/README')
-rw-r--r--test/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/README b/test/README
index dcd05237..f2499bce 100644
--- a/test/README
+++ b/test/README
@@ -33,6 +33,17 @@ chosen directory to your PATH before running the tests.
e.g. env PATH=/opt/gnu/bin:$PATH make test
+For FreeBSD you need to install latest gdb from ports or packages and
+provide path to it in TEST_GDB environment variable before executing
+the tests, native FreeBSD gdb does not not work. If you install
+coreutils, which provides GNU versions of basic utils like 'date' and
+'base64' on FreeBSD, the test suite will use these instead of the
+native ones. This provides robustness against portability issues with
+these system tools. Most often the tests are written, reviewed and
+tested on Linux system so such portability issues arise from time to
+time.
+
+
Running Tests
-------------
The easiest way to run tests is to say "make test", (or simply run the